Win32_LogicalFileAccess class
The Win32_LogicalFileAccess association WMI class relates the security settings of a file or directory and one member of its discretionary access control list (DACL). 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_LogicalFileAccess : Win32_SecuritySettingAccess
{
uint32 AccessMask;
string GuidInheritedObjectType;
string GuidObjectType;
uint32 Inheritance;
Win32_LogicalFileSecuritySetting REF SecuritySetting;
Win32_SID REF Trustee;
uint32 Type;
};
Members
The Win32_LogicalFileAccess class has these types of members:
Properties
The Win32_LogicalFileAccess class has these properties.
- AccessMask
-
- Data type: uint32
- Access type: Read-only
Bit flags specifying what permissions are affected.
- 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 that specify how the access rights are inherited.
- SecuritySetting
-
- Data type: Win32_LogicalFileSecuritySetting
- Access type: Read-only
- Qualifiers: Key
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
- Qualifiers: Key
Reference to the instance representing the entry on the object's DACL.
- Type
-
- Data type: uint32
- Access type: Read-only
Access specified for the trustee.
Value Meaning - 0
Set
- 1
Deny
Remarks
The Win32_LogicalFileAccess class is derived from Win32_SecuritySettingAccess.
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