System.Security.AccessControl.DirectoryObjectSecurity Members

The members of System.Security.AccessControl.DirectoryObjectSecurity are listed below.

See Also: Inherited members from System.Security.AccessControl.ObjectSecurity

Protected Constructors

Initializes a new instance of the System.Security.AccessControl.DirectoryObjectSecurity class.

Initializes a new instance of the System.Security.AccessControl.DirectoryObjectSecurity class with the specified security descriptor.

Public Methods

AccessRuleFactory(System.Security.Principal.IdentityReference, int, bool, InheritanceFlags, PropagationFlags, AccessControlType, Guid, Guid) : AccessRule

Initializes a new instance of the System.Security.AccessControl.AccessRule class with the specified values.

AuditRuleFactory(System.Security.Principal.IdentityReference, int, bool, InheritanceFlags, PropagationFlags, AuditFlags, Guid, Guid) : AuditRule

Initializes a new instance of the System.Security.AccessControl.AuditRule class with the specified values.

GetAccessRules(bool, bool, Type) : AuthorizationRuleCollection

Gets a collection of the access rules associated with the specified security identifier.

GetAuditRules(bool, bool, Type) : AuthorizationRuleCollection

Gets a collection of the audit rules associated with the specified security identifier.

Protected Methods

AddAccessRule(ObjectAccessRule)

Adds the specified access rule to the Discretionary Access Control List (DACL) associated with this System.Security.AccessControl.DirectoryObjectSecurity object.

AddAuditRule(ObjectAuditRule)

Adds the specified audit rule to the System Access Control List (SACL) associated with this System.Security.AccessControl.DirectoryObjectSecurity object.

override
ModifyAccess(AccessControlModification, AccessRule, out bool) : bool
Documentation for this section has not yet been entered.
override
ModifyAudit(AccessControlModification, AuditRule, out bool) : bool
Documentation for this section has not yet been entered.
RemoveAccessRule(ObjectAccessRule) : bool

Removes access rules that contain the same security identifier and access mask as the specified access rule from the Discretionary Access Control List (DACL) associated with this System.Security.AccessControl.DirectoryObjectSecurity object.

RemoveAccessRuleAll(ObjectAccessRule)

Removes all access rules that have the same security identifier as the specified access rule from the Discretionary Access Control List (DACL) associated with this System.Security.AccessControl.DirectoryObjectSecurity object.

RemoveAccessRuleSpecific(ObjectAccessRule)

Removes all access rules that exactly match the specified access rule from the Discretionary Access Control List (DACL) associated with this System.Security.AccessControl.DirectoryObjectSecurity object.

RemoveAuditRule(ObjectAuditRule) : bool

Removes audit rules that contain the same security identifier and access mask as the specified audit rule from the System Access Control List (SACL) associated with this System.Security.AccessControl.CommonObjectSecurity object.

RemoveAuditRuleAll(ObjectAuditRule)

Removes all audit rules that have the same security identifier as the specified audit rule from the System Access Control List (SACL) associated with this System.Security.AccessControl.DirectoryObjectSecurity object.

RemoveAuditRuleSpecific(ObjectAuditRule)

Removes all audit rules that exactly match the specified audit rule from the System Access Control List (SACL) associated with this System.Security.AccessControl.DirectoryObjectSecurity object.

ResetAccessRule(ObjectAccessRule)

Removes all access rules in the Discretionary Access Control List (DACL) associated with this System.Security.AccessControl.DirectoryObjectSecurity object and then adds the specified access rule.

SetAccessRule(ObjectAccessRule)

Removes all access rules that contain the same security identifier and qualifier as the specified access rule in the Discretionary Access Control List (DACL) associated with this System.Security.AccessControl.DirectoryObjectSecurity object and then adds the specified access rule.

SetAuditRule(ObjectAuditRule)

Removes all audit rules that contain the same security identifier and qualifier as the specified audit rule in the System Access Control List (SACL) associated with this System.Security.AccessControl.DirectoryObjectSecurity object and then adds the specified audit rule.