Class WindowsGenericSecurityDescriptor
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents a Windows generic security descriptor.
public class WindowsGenericSecurityDescriptor : BypassSection
- Inheritance
-
WindowsGenericSecurityDescriptor
- Inherited Members
Constructors
WindowsGenericSecurityDescriptor()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.WindowsGenericSecurityDescriptor class.
public WindowsGenericSecurityDescriptor()
Properties
AccessMaskType
Gets or sets the type that is used to generate the flags.
[Browsable(false)]
public Type AccessMaskType { get; set; }
Property Value
AuditRules
Gets or sets the audit rules (SACL) defined within this security descriptor.
public WindowsGenericAccessControlEntryCollection AuditRules { get; set; }
Property Value
Remarks
Overlapping access control entries are removed if the reference flags enum value is available.
FlagsResourceManager
Gets or sets the resource manager used to resolve the flags to enum values.
[Browsable(false)]
public ResourceManager FlagsResourceManager { get; set; }
Property Value
OwnerAccountName
Gets or sets the account name of the owner of this object.
public string OwnerAccountName { get; set; }
Property Value
OwnerSid
Gets or sets the security identifier of the owner account.
public string OwnerSid { get; set; }
Property Value
SecurityRules
Gets or sets the security access control list (DACL) found within this security descriptor.
public WindowsGenericAccessControlEntryCollection SecurityRules { get; set; }
Property Value
Remarks
Overlapping access control entries are removed if the reference flags enum value is available.
Methods
FilterDuplicateRulesByAccessMaskType()
Apply the access mask and remove duplicate rules. This should be called after the
public void FilterDuplicateRulesByAccessMaskType()
FromXml(string)
Returns a CENTREL.XIA.Configuration.Types.WindowsGenericSecurityDescriptor from the specified XML.
public static WindowsGenericSecurityDescriptor FromXml(string xml)
Parameters
xml
stringThe XML representation of the CENTREL.XIA.Configuration.Types.WindowsGenericSecurityDescriptor object.
Returns
- WindowsGenericSecurityDescriptor
A CENTREL.XIA.Configuration.Types.WindowsGenericSecurityDescriptor from the specified XML.
RemoveDuplicatePermissions()
Removes any duplicate permissions from either the discretionary access control list or audit rules.
public void RemoveDuplicatePermissions()
ToString()
Returns the security descriptor as a human readable string.
public override string ToString()
Returns
- string
The security descriptor as a human readable string.