// Copyright (c) 1997-2003 Microsoft Corporation, All Rights Reserved

#pragma autorecover
#pragma classflags(64)
#pragma namespace("\\\\.\\root\\cimv2")

Instance of __Win32Provider as $P
{
  Name = "SECRCW32";
  ClsId = "{d63a5850-8f16-11cf-9f47-00aa00bf345c}";
  ImpersonationLevel = 1;
  PerUserInitialization = "FALSE";
  HostingModel = "NetworkServiceHost";
};

Instance of __InstanceProviderRegistration
{
  Provider = $P;
  SupportsGet = "TRUE";
  SupportsPut = "TRUE";
  SupportsDelete = "TRUE";
  SupportsEnumeration = "TRUE";
  QuerySupportLevels = {"WQL:UnarySelect"};
};

Instance of __MethodProviderRegistration
{
  Provider = $P;
};

[Dynamic,Provider("SECRCW32") : ToInstance,Locale(1033) : ToInstance,UUID("{8502C581-5FBB-11D2-AAC1-006008C78BC7}") : ToInstance] 
class Win32_SID
{
  [Read : ToSubclass,Key : ToInstance ToSubclass DisableOverride] string SID;
  [Read : ToSubclass] uint8 BinaryRepresentation[];
  [Read : ToSubclass] string AccountName;
  [Read : ToSubclass] string ReferencedDomainName;
  [Read : ToSubclass] uint32 SidLength;
};

[Dynamic,Provider("SECRCW32") : ToInstance,Association : ToInstance ToSubclass DisableOverride,Locale(1033) : ToInstance,UUID("{8502C582-5FBB-11D2-AAC1-006008C78BC7}") : ToInstance] 
class Win32_AccountSID
{
  [Read : ToSubclass,Key : ToInstance ToSubclass DisableOverride] Win32_Account Ref Element;
  [Read : ToSubclass,Key : ToInstance ToSubclass DisableOverride] Win32_SID Ref Setting;
};

[abstract,Locale(1033) : ToInstance,UUID("{8502C583-5FBB-11D2-AAC1-006008C78BC7}") : ToInstance] 
class Win32_SecuritySetting : CIM_Setting
{
  [read : ToSubclass] uint32 ControlFlags;
  [Privileges{"SeSecurityPrivilege", "SeRestorePrivilege"} : ToSubclass] uint32 GetSecurityDescriptor([OUT] Win32_SecurityDescriptor Descriptor);
  [Privileges{"SeSecurityPrivilege", "SeRestorePrivilege"} : ToSubclass] uint32 SetSecurityDescriptor([IN] Win32_SecurityDescriptor Descriptor);
};

[Abstract,Locale(1033) : ToInstance,UUID("{8502C584-5FBB-11D2-AAC1-006008C78BC7}") : ToInstance] 
class Win32_SecuritySettingOfObject : CIM_ElementSetting
{
  [Override("Element") : ToSubclass] CIM_LogicalElement Ref Element;
  [Override("Setting") : ToSubclass] Win32_SecuritySetting Ref Setting;
};

[abstract,Association : ToInstance ToSubclass DisableOverride,Locale(1033) : ToInstance,UUID("{8502C585-5FBB-11D2-AAC1-006008C78BC7}") : ToInstance] 
class Win32_SecuritySettingOwner
{
  [key : ToInstance ToSubclass DisableOverride,read : ToSubclass] Win32_SecuritySetting Ref SecuritySetting;
  [key : ToInstance ToSubclass DisableOverride,read : ToSubclass] Win32_SID Ref Owner;
};

[abstract,Association : ToInstance ToSubclass DisableOverride,Locale(1033) : ToInstance,UUID("{8502C586-5FBB-11D2-AAC1-006008C78BC7}") : ToInstance] 
class Win32_SecuritySettingGroup
{
  [key : ToInstance ToSubclass DisableOverride,read : ToSubclass] Win32_SecuritySetting Ref SecuritySetting;
  [key : ToInstance ToSubclass DisableOverride,read : ToSubclass] Win32_SID Ref Group;
};

[abstract,Association : ToInstance ToSubclass DisableOverride,Locale(1033) : ToInstance,UUID("{8502C587-5FBB-11D2-AAC1-006008C78BC7}") : ToInstance] 
class Win32_SecuritySettingAccess
{
  [key : ToInstance ToSubclass DisableOverride,read : ToSubclass] Win32_SecuritySetting Ref SecuritySetting;
  [key : ToInstance ToSubclass DisableOverride,read : ToSubclass] Win32_SID Ref Trustee;
  [read : ToSubclass] uint32 Type;
  [read : ToSubclass] uint32 Inheritance;
  [read : ToSubclass] uint32 AccessMask;
  [read : ToSubclass] string GuidObjectType;
  [read : ToSubclass] string GuidInheritedObjectType;
};

[abstract,Association : ToInstance ToSubclass DisableOverride,Locale(1033) : ToInstance,UUID("{8502C588-5FBB-11D2-AAC1-006008C78BC7}") : ToInstance] 
class Win32_SecuritySettingAuditing
{
  [key : ToInstance ToSubclass DisableOverride,read : ToSubclass] Win32_SecuritySetting Ref SecuritySetting;
  [key : ToInstance ToSubclass DisableOverride,read : ToSubclass] Win32_SID Ref Trustee;
  [read : ToSubclass] uint32 Type;
  [read : ToSubclass] uint32 Inheritance;
  [read : ToSubclass] uint32 AuditedAccessMask;
  [read : ToSubclass] string GuidObjectType;
  [read : ToSubclass] string GuidInheritedObjectType;
};

[abstract,Locale(1033) : ToInstance,UUID("{8502C589-5FBB-11D2-AAC1-006008C78BC7}") : ToInstance] 
class Win32_Trustee : __Trustee
{
  [write : ToSubclass,WritePrivileges{"SeSecurityPrivilege", "SeRestorePrivilege"} : ToSubclass] uint8 SID[];
  [write : ToSubclass,WritePrivileges{"SeSecurityPrivilege", "SeRestorePrivilege"} : ToSubclass] string SIDString;
  [write : ToSubclass,WritePrivileges{"SeSecurityPrivilege", "SeRestorePrivilege"} : ToSubclass] string Name;
  [write : ToSubclass,WritePrivileges{"SeSecurityPrivilege", "SeRestorePrivilege"} : ToSubclass] string Domain;
  [write : ToSubclass,WritePrivileges{"SeSecurityPrivilege", "SeRestorePrivilege"} : ToSubclass] uint32 SidLength;
};

[abstract,Locale(1033) : ToInstance,UUID("{8502C58A-5FBB-11D2-AAC1-006008C78BC7}") : ToInstance] 
class Win32_ACE : __ACE
{
  [write : ToSubclass,WritePrivileges{"SeSecurityPrivilege", "SeRestorePrivilege"} : ToSubclass] Win32_Trustee Trustee;
  [write : ToSubclass,WritePrivileges{"SeSecurityPrivilege", "SeRestorePrivilege"} : ToSubclass] uint32 AceType;
  [write : ToSubclass,WritePrivileges{"SeSecurityPrivilege", "SeRestorePrivilege"} : ToSubclass] uint32 AceFlags;
  [write : ToSubclass,WritePrivileges{"SeSecurityPrivilege", "SeRestorePrivilege"} : ToSubclass] uint32 AccessMask;
  [write : ToSubclass,WritePrivileges{"SeSecurityPrivilege", "SeRestorePrivilege"} : ToSubclass] string GuidObjectType;
  [write : ToSubclass,WritePrivileges{"SeSecurityPrivilege", "SeRestorePrivilege"} : ToSubclass] string GuidInheritedObjectType;
};

[abstract,Locale(1033) : ToInstance,UUID("{8502C58B-5FBB-11D2-AAC1-006008C78BC7}") : ToInstance] 
class Win32_SecurityDescriptor : __SecurityDescriptor
{
  [read : ToSubclass,write : ToSubclass,WritePrivileges{"SeSecurityPrivilege", "SeRestorePrivilege"} : ToSubclass] Win32_Trustee Owner;
  [read : ToSubclass,write : ToSubclass,WritePrivileges{"SeSecurityPrivilege", "SeRestorePrivilege"} : ToSubclass] Win32_Trustee Group;
  [read : ToSubclass,write : ToSubclass,WritePrivileges{"SeSecurityPrivilege", "SeRestorePrivilege"} : ToSubclass] Win32_ACE DACL[];
  [read : ToSubclass,write : ToSubclass,WritePrivileges{"SeSecurityPrivilege", "SeRestorePrivilege"} : ToSubclass] Win32_ACE SACL[];
  [read : ToSubclass,WritePrivileges{"SeSecurityPrivilege", "SeRestorePrivilege"} : ToSubclass] uint32 ControlFlags;
};

[Dynamic,Provider("SECRCW32") : ToInstance,Locale(1033) : ToInstance,UUID("{A502B5A5-B91A-41d1-83D6-BBFA55076333}") : ToInstance] 
class Win32_SecurityDescriptorHelper
{
  [implemented,static] uint32 Win32SDToSDDL([in] __SecurityDescriptor Descriptor,[out] string SDDL);
  [implemented,static] uint32 Win32SDToBinarySD([in] __SecurityDescriptor Descriptor,[out] uint8 BinarySD[]);
  [implemented,static] uint32 SDDLToWin32SD([in] string SDDL,[out] __SecurityDescriptor Descriptor);
  [implemented,static] uint32 SDDLToBinarySD([in] string SDDL,[out] uint8 BinarySD[]);
  [implemented,static] uint32 BinarySDToWin32SD([in] uint8 BinarySD[],[out] __SecurityDescriptor Descriptor);
  [implemented,static] uint32 BinarySDToSDDL([in] uint8 BinarySD[],[out] string SDDL);
};

[Dynamic,Provider("SECRCW32") : ToInstance,Locale(1033) : ToInstance,UUID("{8502C58C-5FBB-11D2-AAC1-006008C78BC7}") : ToInstance] 
class Win32_LogicalFileSecuritySetting : Win32_SecuritySetting
{
  [read : ToSubclass,key : ToInstance ToSubclass DisableOverride] string Path;
  [read : ToSubclass] boolean OwnerPermissions;
  [implemented,ValueMap{"0", "2", "8", "9", "21", ".."},Privileges{"SeSecurityPrivilege", "SeRestorePrivilege"} : ToSubclass] uint32 GetSecurityDescriptor([out] Win32_SecurityDescriptor Descriptor);
  [implemented,ValueMap{"0", "2", "8", "9", "21", ".."},Privileges{"SeSecurityPrivilege", "SeRestorePrivilege"} : ToSubclass] uint32 SetSecurityDescriptor([in] Win32_SecurityDescriptor Descriptor);
};

[Dynamic,Provider("SECRCW32") : ToInstance,Locale(1033) : ToInstance,UUID("{8502C58D-5FBB-11D2-AAC1-006008C78BC7}") : ToInstance] 
class Win32_SecuritySettingOfLogicalFile : Win32_SecuritySettingOfObject
{
  [Override("Element") : ToSubclass,key : ToInstance ToSubclass DisableOverride] CIM_LogicalFile Ref Element;
  [Override("Setting") : ToSubclass,key : ToInstance ToSubclass DisableOverride] Win32_LogicalFileSecuritySetting Ref Setting;
};

[Dynamic,Provider("SECRCW32") : ToInstance,Locale(1033) : ToInstance,UUID("{8502C58E-5FBB-11D2-AAC1-006008C78BC7}") : ToInstance] 
class Win32_LogicalFileOwner : Win32_SecuritySettingOwner
{
  [Override("SecuritySetting") : ToSubclass] Win32_LogicalFileSecuritySetting Ref SecuritySetting;
  [Override("Owner") : ToSubclass] Win32_SID Ref Owner;
};

[Dynamic,Provider("SECRCW32") : ToInstance,Locale(1033) : ToInstance,UUID("{8502C58F-5FBB-11D2-AAC1-006008C78BC7}") : ToInstance] 
class Win32_LogicalFileGroup : Win32_SecuritySettingGroup
{
  [Override("SecuritySetting") : ToSubclass] Win32_LogicalFileSecuritySetting Ref SecuritySetting;
  [Override("Group") : ToSubclass] Win32_SID Ref Group;
};

[Dynamic,Provider("SECRCW32") : ToInstance,Locale(1033) : ToInstance,UUID("{8502C590-5FBB-11D2-AAC1-006008C78BC7}") : ToInstance] 
class Win32_LogicalFileAccess : Win32_SecuritySettingAccess
{
  [Override("SecuritySetting") : ToSubclass] Win32_LogicalFileSecuritySetting Ref SecuritySetting;
  [Override("Trustee") : ToSubclass] Win32_SID Ref Trustee;
};

[Dynamic,Provider("SECRCW32") : ToInstance,Locale(1033) : ToInstance,UUID("{FCC86599-DB20-11d2-85FC-0000F8102E5F}") : ToInstance] 
class Win32_LogicalFileAuditing : Win32_SecuritySettingAuditing
{
  [Override("SecuritySetting") : ToSubclass] Win32_LogicalFileSecuritySetting Ref SecuritySetting;
  [Override("Trustee") : ToSubclass] Win32_SID Ref Trustee;
};

[Dynamic,Provider("SECRCW32") : ToInstance,Locale(1033) : ToInstance,UUID("{8502C591-5FBB-11D2-AAC1-006008C78BC7}") : ToInstance] 
class Win32_LogicalShareSecuritySetting : Win32_SecuritySetting
{
  [key : ToInstance ToSubclass DisableOverride,read : ToSubclass] string Name;
  [implemented,ValueMap{"0", "2", "8", "9", "21", ".."},Privileges{"SeSecurityPrivilege", "SeRestorePrivilege"} : ToSubclass] uint32 GetSecurityDescriptor([out] Win32_SecurityDescriptor Descriptor);
  [implemented,ValueMap{"0", "2", "8", "9", "21", ".."},Privileges{"SeSecurityPrivilege", "SeRestorePrivilege"} : ToSubclass] uint32 SetSecurityDescriptor([in] Win32_SecurityDescriptor Descriptor);
};

[Dynamic,Provider("SECRCW32") : ToInstance,Locale(1033) : ToInstance,UUID("{8502C592-5FBB-11D2-AAC1-006008C78BC7}") : ToInstance] 
class Win32_SecuritySettingOfLogicalShare : Win32_SecuritySettingOfObject
{
  [Override("Element") : ToSubclass,key : ToInstance ToSubclass DisableOverride,read : ToSubclass] Win32_Share Ref Element;
  [read : ToSubclass,Override("Setting") : ToSubclass,key : ToInstance ToSubclass DisableOverride] Win32_LogicalShareSecuritySetting Ref Setting;
};

[Dynamic,Provider("SECRCW32") : ToInstance,Locale(1033) : ToInstance,UUID("{8502C593-5FBB-11D2-AAC1-006008C78BC7}") : ToInstance] 
class Win32_LogicalShareAccess : Win32_SecuritySettingAccess
{
  [read : ToSubclass,Override("SecuritySetting") : ToSubclass] Win32_LogicalShareSecuritySetting Ref SecuritySetting;
  [read : ToSubclass,Override("Trustee") : ToSubclass] Win32_SID Ref Trustee;
};

[Dynamic,Provider("SECRCW32") : ToInstance,Locale(1033) : ToInstance,UUID("{8502C594-5FBB-11D2-AAC1-006008C78BC7}") : ToInstance] 
class Win32_LogicalShareAuditing : Win32_SecuritySettingAuditing
{
  [read : ToSubclass,Override("SecuritySetting") : ToSubclass] Win32_LogicalShareSecuritySetting Ref SecuritySetting;
  [read : ToSubclass,Override("Trustee") : ToSubclass] Win32_SID Ref Trustee;
};

[Association : ToInstance ToSubclass DisableOverride,Dynamic,Provider("CIMWin32") : ToInstance,Locale(1033) : ToInstance,UUID("{0F73ED55-8ED9-11d2-B340-00105A1F8569}") : ToInstance] 
class Win32_DCOMApplicationLaunchAllowedSetting
{
  [read : ToSubclass,Key : ToInstance ToSubclass DisableOverride,Override("Element") : ToSubclass,MappingStrings{" Microsoft CIM Win32|Win32_DCOMApplication|AppID"} : ToSubclass] Win32_DCOMApplication Ref Element;
  [read : ToSubclass,Key : ToInstance ToSubclass DisableOverride,Override("Setting") : ToSubclass,MappingStrings{" Microsoft CIM Win32|Win32_SID|SID"} : ToSubclass] Win32_SID Ref Setting;
};

[Association : ToInstance ToSubclass DisableOverride,Dynamic,Provider("CIMWin32") : ToInstance,Locale(1033) : ToInstance,UUID("{0F73ED59-8ED9-11d2-B340-00105A1F8569}") : ToInstance] 
class Win32_DCOMApplicationAccessAllowedSetting
{
  [read : ToSubclass,Key : ToInstance ToSubclass DisableOverride,Override("Element") : ToSubclass,MappingStrings{" Microsoft CIM Win32|Win32_DCOMApplication|AppID"} : ToSubclass] Win32_DCOMApplication Ref Element;
  [read : ToSubclass,Key : ToInstance ToSubclass DisableOverride,Override("Setting") : ToSubclass,MappingStrings{" Microsoft CIM Win32|Win32_SID|SID"} : ToSubclass] Win32_SID Ref Setting;
};
#pragma autorecover
#pragma classflags(64)
#pragma namespace("\\\\.\\root\\cimv2")
instance of __namespace{ name="ms_409";};
#pragma namespace("\\\\.\\root\\cimv2\\ms_409")

[description("Represents an arbitrary SID -- CANNOT BE ENUMERATED") : Amended ToSubclass,AMENDMENT, LOCALE("ms_409") : ToInstance] 
class Win32_SID
{
  [Description("The SID in string format") : Amended ToSubclass,Key : ToInstance ToSubclass DisableOverride] string SID;
  [Description("The SID in binary format") : Amended ToSubclass] uint8 BinaryRepresentation[];
  [Description("The name of the account associated with the SID") : Amended ToSubclass] string AccountName;
  [Description("The domain of the account associated with the SID") : Amended ToSubclass] string ReferencedDomainName;
  [Description("The SidLength property indicates the length of the SID in bytes") : Amended ToSubclass,Units("bytes") : Amended ToSubclass] uint32 SidLength;
};

[description("The SID of an account") : Amended ToSubclass,AMENDMENT, LOCALE("ms_409") : ToInstance] 
class Win32_AccountSID
{
  [Description("The account") : Amended ToSubclass,Key : ToInstance ToSubclass DisableOverride] Win32_Account Ref Element;
  [Description("The SID of the account") : Amended ToSubclass,Key : ToInstance ToSubclass DisableOverride] Win32_SID Ref Setting;
};

[description("Represents security settings for a managed element") : Amended ToSubclass,AMENDMENT, LOCALE("ms_409") : ToInstance] 
class Win32_SecuritySetting : CIM_Setting
{
  [description("Inheritance-related flags.  See SECURITY_DESCRIPTOR_CONTROL") : Amended ToSubclass] uint32 ControlFlags;
  [description("Retrieves a structural representation of the object's security descriptor") : Amended ToSubclass] uint32 GetSecurityDescriptor([OUT] Win32_SecurityDescriptor Descriptor);
  [description("Sets security descriptor to the specified structure") : Amended ToSubclass] uint32 SetSecurityDescriptor([IN] Win32_SecurityDescriptor Descriptor);
};

[description("Associates an object to its security settings") : Amended ToSubclass,AMENDMENT, LOCALE("ms_409") : ToInstance] 
class Win32_SecuritySettingOfObject : CIM_ElementSetting
{
  [Description("The object with security settings") : Amended ToSubclass] CIM_LogicalElement Ref Element;
  [Description("The security settings of the object") : Amended ToSubclass] Win32_SecuritySetting Ref Setting;
};

[description("Association between the security settings of an object and its owner") : Amended ToSubclass,AMENDMENT, LOCALE("ms_409") : ToInstance] 
class Win32_SecuritySettingOwner
{
  [Description("The security settings of an object") : Amended ToSubclass,key : ToInstance ToSubclass DisableOverride] Win32_SecuritySetting Ref SecuritySetting;
  [Description("The Win32_SID of the object's owner") : Amended ToSubclass,key : ToInstance ToSubclass DisableOverride] Win32_SID Ref Owner;
};

[description("Association between the security of an object and its group") : Amended ToSubclass,AMENDMENT, LOCALE("ms_409") : ToInstance] 
class Win32_SecuritySettingGroup
{
  [Description("The security settings of an object") : Amended ToSubclass,key : ToInstance ToSubclass DisableOverride] Win32_SecuritySetting Ref SecuritySetting;
  [Description("The Win32_SID of the object's group") : Amended ToSubclass,key : ToInstance ToSubclass DisableOverride] Win32_SID Ref Group;
};

[description("Specifies the rights granted and denied to a trustee for a given object. Modeled after EXPLICIT_ACCESS") : Amended ToSubclass,AMENDMENT, LOCALE("ms_409") : ToInstance] 
class Win32_SecuritySettingAccess
{
  [Description("The security settings of an object") : Amended ToSubclass,key : ToInstance ToSubclass DisableOverride] Win32_SecuritySetting Ref SecuritySetting;
  [Description("The Win32_SID of the trustee for this access entry") : Amended ToSubclass,key : ToInstance ToSubclass DisableOverride] Win32_SID Ref Trustee;
  [Description("The type of access specified for the trustee") : Amended ToSubclass,Values{"Set", "Deny"} : Amended ToSubclass] uint32 Type;
  [Description("Bit flags specifying how the access rights are inherited") : Amended ToSubclass] uint32 Inheritance;
  [Description("Bit flags specifying what permissions are affected") : Amended ToSubclass] uint32 AccessMask;
  [Description("The guid of the type of object the security settings are applied to") : Amended ToSubclass] string GuidObjectType;
  [Description("The guid of the type of object this object inherits from") : Amended ToSubclass] string GuidInheritedObjectType;
};

[description("Specifies the auditing for a given trustee on a given object. Modeled after EXPLICIT_ACCESS") : Amended ToSubclass,AMENDMENT, LOCALE("ms_409") : ToInstance] 
class Win32_SecuritySettingAuditing
{
  [Description("The security settings of an object") : Amended ToSubclass,key : ToInstance ToSubclass DisableOverride] Win32_SecuritySetting Ref SecuritySetting;
  [Description("The Win32_SID of the trustee for this audit entry") : Amended ToSubclass,key : ToInstance ToSubclass DisableOverride] Win32_SID Ref Trustee;
  [Description("The type of access specified for the trustee") : Amended ToSubclass,Values{"Audit success", "Audit failure"} : Amended ToSubclass] uint32 Type;
  [Description("Bit flags specifying how the audit policies are inherited") : Amended ToSubclass] uint32 Inheritance;
  [Description("Bit flags specifying what activities are audited") : Amended ToSubclass] uint32 AuditedAccessMask;
  [Description("The guid of the type of object the security settings are applied to") : Amended ToSubclass] string GuidObjectType;
  [Description("The guid of the type of object this object inherits from") : Amended ToSubclass] string GuidInheritedObjectType;
};

[description("Specifies a trustee. Either a name or a SID (byte array) can be used") : Amended ToSubclass,AMENDMENT, LOCALE("ms_409") : ToInstance] 
class Win32_Trustee : __Trustee
{
  [Description("The SID of the trustee") : Amended ToSubclass] uint8 SID[];
  [Description("The SID of the trustee in string format (e.g., S-1-1-0)") : Amended ToSubclass] string SIDString;
  [Description("The name portion of the account") : Amended ToSubclass] string Name;
  [Description("The domain portion of the account") : Amended ToSubclass] string Domain;
  [Description("The length of the SID in BYTES") : Amended ToSubclass] uint32 SidLength;
};

[description("Specifies an access control entry") : Amended ToSubclass,AMENDMENT, LOCALE("ms_409") : ToInstance] 
class Win32_ACE : __ACE
{
  [Description("The trustee of this ACE entry") : Amended ToSubclass] Win32_Trustee Trustee;
  [Description("The type of ACE entry this is") : Amended ToSubclass,Values{"Access Allowed", "Access Denied", "Audit"} : Amended ToSubclass] uint32 AceType;
  [Description("Bit flags specifying inheritance of the ACE") : Amended ToSubclass] uint32 AceFlags;
  [Description("Bit flags representing rights granted/denied to the trustee") : Amended ToSubclass] uint32 AccessMask;
  [Description("The guid associated with the type of object these rights apply to") : Amended ToSubclass] string GuidObjectType;
  [Description("The guid associated with the parent of the object these rights apply to") : Amended ToSubclass] string GuidInheritedObjectType;
};

[description("Structural representation of a SECURITY_DESCRIPTOR") : Amended ToSubclass,AMENDMENT, LOCALE("ms_409") : ToInstance] 
class Win32_SecurityDescriptor : __SecurityDescriptor
{
  [Description("The trustee representing the owner of the object") : Amended ToSubclass] Win32_Trustee Owner;
  [Description("The trustee representing the group of the object") : Amended ToSubclass] Win32_Trustee Group;
  [Description("An array of Win32_ACE entries that specify access to the object") : Amended ToSubclass] Win32_ACE DACL[];
  [Description("An array of Win32_ACE entries that specify which users/groups auditing information is gathered for") : Amended ToSubclass] Win32_ACE SACL[];
  [Description("Bit flags that provide information about the descriptor's contents and format") : Amended ToSubclass] uint32 ControlFlags;
};

[Description("The Win32_SecurityDescriptorHelper class provides the basic functionality for converting a security descriptor between three different representations:    1) __SecurityDescriptor   2) SDDL - string representation of a security descriptor   3) Binary representation of a security descriptor") : Amended ToSubclass,AMENDMENT, LOCALE("ms_409") : ToInstance] 
class Win32_SecurityDescriptorHelper
{
  [Description("This method converts a __SecurityDescriptor instance to SDDL string format.") : Amended ToSubclass] uint32 Win32SDToSDDL([in] __SecurityDescriptor Descriptor,[out] string SDDL);
  [Description("This method converts a __SecurityDescriptor instance to a binary blob security descriptor format.") : Amended ToSubclass] uint32 Win32SDToBinarySD([in] __SecurityDescriptor Descriptor,[out] uint8 BinarySD[]);
  [Description("This method converts a SDDL string security descriptor format to a __SecurityDescriptor instance.") : Amended ToSubclass] uint32 SDDLToWin32SD([in] string SDDL,[out] __SecurityDescriptor Descriptor);
  [Description("This method converts a SDDL string security descriptor format to a binary blob security descriptor format.") : Amended ToSubclass] uint32 SDDLToBinarySD([in] string SDDL,[out] uint8 BinarySD[]);
  [Description("This method converts a binary blob security descriptor format to a __SecurityDescriptor instance.") : Amended ToSubclass] uint32 BinarySDToWin32SD([in] uint8 BinarySD[],[out] __SecurityDescriptor Descriptor);
  [Description("This method converts a binary blob security descriptor formatto a SDDL string security descriptor format.") : Amended ToSubclass] uint32 BinarySDToSDDL([in] uint8 BinarySD[],[out] string SDDL);
};

[Description("security settings for a logical file") : Amended ToSubclass,AMENDMENT, LOCALE("ms_409") : ToInstance] 
class Win32_LogicalFileSecuritySetting : Win32_SecuritySetting
{
  [key : ToInstance ToSubclass DisableOverride,Description("The full pathname of the file or directory") : Amended ToSubclass] string Path;
  [description("Indicates whether the caller has Owner permissions to the object.  ") : Amended ToSubclass] boolean OwnerPermissions;
  [description("Retrieves a structural representation of the object's security descriptor.\nThe method returns an integer value that can be interpreted as follows: \n0 - Successful completion.\n2 - The user does not have access to the requested information.\n8 - Unknown failure.\n9 - The user does not have adequate privileges.\n21 - The specified parameter is invalid.\nOther - For integer values other than those listed above, refer to Win32 error code documentation.") : Amended ToSubclass,Values{"Success", "Access denied", "Unknown failure", "Privilege missing", "Invalid parameter", "Other"} : Amended ToSubclass] uint32 GetSecurityDescriptor([out] Win32_SecurityDescriptor Descriptor);
  [description("Sets security descriptor to the specified structure. \nThe method returns an integer value that can be interpreted as follows: \n0 - Successful completion.\n2 - The user does not have access to the requested information.\n8 - Unknown failure.\n9 - The user does not have adequate privileges.\n21 - The specified parameter is invalid.\nOther - For integer values other than those listed above, refer to Win32 error code documentation.") : Amended ToSubclass,Values{"Success", "Access denied", "Unknown failure", "Privilege missing", "Invalid parameter", "Other"} : Amended ToSubclass] uint32 SetSecurityDescriptor([in] Win32_SecurityDescriptor Descriptor);
};

[Description("Security settings of a file or directory object") : Amended ToSubclass,AMENDMENT, LOCALE("ms_409") : ToInstance] 
class Win32_SecuritySettingOfLogicalFile : Win32_SecuritySettingOfObject
{
  [Description("The file or directory") : Amended ToSubclass,key : ToInstance ToSubclass DisableOverride] CIM_LogicalFile Ref Element;
  [Description("The security settings of the file or directory") : Amended ToSubclass,key : ToInstance ToSubclass DisableOverride] Win32_LogicalFileSecuritySetting Ref Setting;
};

[Description("Association between the security settings of a file/directory and its owner") : Amended ToSubclass,AMENDMENT, LOCALE("ms_409") : ToInstance] 
class Win32_LogicalFileOwner : Win32_SecuritySettingOwner
{
  [Description("The security settings of the file/directory object -- CANNOT BE ENUMERATED") : Amended ToSubclass] Win32_LogicalFileSecuritySetting Ref SecuritySetting;
  [Description("The owner of the file/directory object") : Amended ToSubclass] Win32_SID Ref Owner;
};

[Description("Association between the security settings of a file/directory and its group") : Amended ToSubclass,AMENDMENT, LOCALE("ms_409") : ToInstance] 
class Win32_LogicalFileGroup : Win32_SecuritySettingGroup
{
  [Description("The security settings of the file/directory object -- CANNOT BE ENUMERATED") : Amended ToSubclass] Win32_LogicalFileSecuritySetting Ref SecuritySetting;
  [Description("The group of the file/directory object") : Amended ToSubclass] Win32_SID Ref Group;
};

[Description("Association between the security settings of a file/directory and one member of its DACL") : Amended ToSubclass,AMENDMENT, LOCALE("ms_409") : ToInstance] 
class Win32_LogicalFileAccess : Win32_SecuritySettingAccess
{
  [Description("The security settings of the file/directory object -- CANNOT BE ENUMERATED") : Amended ToSubclass] Win32_LogicalFileSecuritySetting Ref SecuritySetting;
  [Description("An entry on the object's DACL") : Amended ToSubclass] Win32_SID Ref Trustee;
};

[Description("Association between the security settings of a file/directory one member of its SACL.") : Amended ToSubclass,AMENDMENT, LOCALE("ms_409") : ToInstance] 
class Win32_LogicalFileAuditing : Win32_SecuritySettingAuditing
{
  [Description("The security settings of the file/directory object -- CANNOT BE ENUMERATED") : Amended ToSubclass] Win32_LogicalFileSecuritySetting Ref SecuritySetting;
  [Description("An entry on the object's SACL") : Amended ToSubclass] Win32_SID Ref Trustee;
};

[Description("security settings for a logical file") : Amended ToSubclass,AMENDMENT, LOCALE("ms_409") : ToInstance] 
class Win32_LogicalShareSecuritySetting : Win32_SecuritySetting
{
  [key : ToInstance ToSubclass DisableOverride,Description("The name of the share") : Amended ToSubclass] string Name;
  [description("Retrieves a structural representation of the object's security descriptor.\nThe method returns an integer value that can be interpreted as follows: \n0 - Successful completion.\n2 - The user does not have access to the requested information.\n8 - Unknown failure.\n9 - The user does not have adequate privileges.\n21 - The specified parameter is invalid.\nOther - For integer values other than those listed above, refer to Win32 error code documentation.") : Amended ToSubclass,Values{"Success", "Access denied", "Unknown failure", "Privilege missing", "Invalid parameter", "Other"} : Amended ToSubclass] uint32 GetSecurityDescriptor([out] Win32_SecurityDescriptor Descriptor);
  [description("Sets security descriptor to the specified structure.\nThe method returns an integer value that can be interpreted as follows: \n0 - Successful completion.\n2 - The user does not have access to the requested information.\n8 - Unknown failure.\n9 - The user does not have adequate privileges.\n21 - The specified parameter is invalid.\nOther - For integer values other than those listed above, refer to Win32 error code documentation.") : Amended ToSubclass,Values{"Success", "Access denied", "Unknown failure", "Privilege missing", "Invalid parameter", "Other"} : Amended ToSubclass] uint32 SetSecurityDescriptor([in] Win32_SecurityDescriptor Descriptor);
};

[Description("Security settings of a share object") : Amended ToSubclass,AMENDMENT, LOCALE("ms_409") : ToInstance] 
class Win32_SecuritySettingOfLogicalShare : Win32_SecuritySettingOfObject
{
  [Description("The share") : Amended ToSubclass,key : ToInstance ToSubclass DisableOverride] Win32_Share Ref Element;
  [Description("The security settings of the share") : Amended ToSubclass,key : ToInstance ToSubclass DisableOverride] Win32_LogicalShareSecuritySetting Ref Setting;
};

[Description("Association between the security settings of a share and one member of its DACL") : Amended ToSubclass,AMENDMENT, LOCALE("ms_409") : ToInstance] 
class Win32_LogicalShareAccess : Win32_SecuritySettingAccess
{
  [Description("The security settings of the share object") : Amended ToSubclass] Win32_LogicalShareSecuritySetting Ref SecuritySetting;
  [Description("An entry on the object's DACL") : Amended ToSubclass] Win32_SID Ref Trustee;
};

[Description("Association between the security settings of a share and one member of its SACL.") : Amended ToSubclass,AMENDMENT, LOCALE("ms_409") : ToInstance] 
class Win32_LogicalShareAuditing : Win32_SecuritySettingAuditing
{
  [Description("The security settings of the share object") : Amended ToSubclass] Win32_LogicalShareSecuritySetting Ref SecuritySetting;
  [Description("An entry on the object's SACL") : Amended ToSubclass] Win32_SID Ref Trustee;
};

[Description("The Win32_DCOMApplicationLaunchAllowedSetting class is an association between the Win32_DCOMApplication and the user sid's that can launch it") : Amended ToSubclass,AMENDMENT, LOCALE("ms_409") : ToInstance] 
class Win32_DCOMApplicationLaunchAllowedSetting
{
  [Key : ToInstance ToSubclass DisableOverride,Description("The Element reference represents the role of the Win32_DCOMApplication") : Amended ToSubclass] Win32_DCOMApplication Ref Element;
  [Key : ToInstance ToSubclass DisableOverride,Description("The Setting reference represents the role of a user that can launch a component grouped under the associated Win32_DCOMApplication") : Amended ToSubclass] Win32_SID Ref Setting;
};

[Description("The Win32_DCOMApplicationAccessAllowedSetting class is an association between the Win32_DCOMApplication and the user sid's that can access it") : Amended ToSubclass,AMENDMENT, LOCALE("ms_409") : ToInstance] 
class Win32_DCOMApplicationAccessAllowedSetting
{
  [Key : ToInstance ToSubclass DisableOverride,Description("The Element reference represents the role of the Win32_DCOMApplication") : Amended ToSubclass] Win32_DCOMApplication Ref Element;
  [Key : ToInstance ToSubclass DisableOverride,Description("The Setting reference represents the role of a user that can access a component grouped under the associated Win32_DCOMApplication") : Amended ToSubclass] Win32_SID Ref Setting;
};
