Win32_LogicalFileAuditing class
The Win32_LogicalFileAuditing association WMI class relates the security settings of a file or directory and one member of its system access control list (SACL). You cannot enumerate this class.
The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties.
Syntax
class Win32_LogicalFileAuditing : Win32_SecuritySettingAuditing
{
uint32 AuditedAccessMask;
string GuidInheritedObjectType;
string GuidObjectType;
uint32 Inheritance;
Win32_LogicalFileSecuritySetting REF SecuritySetting;
Win32_SID REF Trustee;
uint32 Type;
};
Members
The Win32_LogicalFileAuditing class has these types of members:
Properties
The Win32_LogicalFileAuditing class has these properties.
- AuditedAccessMask
-
- Data type: uint32
- Access type: Read-only
Bit flags specifying what activities are audited.
- GuidInheritedObjectType
-
- Data type: string
- Access type: Read-only
Globally unique identifier (GUID) of the type of object from which this object inherits.
- GuidObjectType
-
- Data type: string
- Access type: Read-only
GUID of the type of object to which the security settings are applied.
- Inheritance
-
- Data type: uint32
- Access type: Read-only
Bit flags specifying how the audit policies are inherited.
- SecuritySetting
-
- Data type: Win32_LogicalFileSecuritySetting
- Access type: Read-only
Reference to the instance representing the security settings of the file or directory object. This property cannot be enumerated.
- Trustee
-
- Data type: Win32_SID
- Access type: Read-only
Reference to the instance representing the entry on the object's SACL.
- Type
-
- Data type: uint32
- Access type: Read-only
Access specified for the trustee.
Value Meaning - 1
Audit success
- 2
Audit failure
Remarks
The Win32_LogicalFileAuditing class is derived from Win32_SecuritySettingAuditing.
Examples
For script code examples, see WMI Tasks for Scripts and Applications and the TechNet ScriptCenter Script Repository.
For C++ code examples, see WMI C++ Application Examples.
Requirements
|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server | Windows 2000 Server [desktop apps only] |
|
Namespace |
\root\CIMV2 |
|
MOF |
|
|
DLL |
|
See also
Send comments about this topic to Microsoft
Build date: 11/19/2012