System.Security.AccessControl.DiscretionaryAcl Members

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

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

Public Constructors

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

Initializes a new instance of the System.Security.AccessControl.DiscretionaryAcl class with the specified values from the specified System.Security.AccessControl.RawAcl object.

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

Public Methods

AddAccess(AccessControlType, System.Security.Principal.SecurityIdentifier, int, InheritanceFlags, PropagationFlags)

Adds an Access Control Entry (ACE) with the specified settings to the current System.Security.AccessControl.DiscretionaryAcl object.

AddAccess(AccessControlType, System.Security.Principal.SecurityIdentifier, int, InheritanceFlags, PropagationFlags, ObjectAceFlags, Guid, Guid)

Adds an Access Control Entry (ACE) with the specified settings to the current System.Security.AccessControl.DiscretionaryAcl object. Use this method for directory object Access Control Lists (ACLs) when specifying the object type or the inherited object type for the new ACE.

RemoveAccess(AccessControlType, System.Security.Principal.SecurityIdentifier, int, InheritanceFlags, PropagationFlags) : bool

Removes the specified access control rule from the current System.Security.AccessControl.DiscretionaryAcl object.

RemoveAccess(AccessControlType, System.Security.Principal.SecurityIdentifier, int, InheritanceFlags, PropagationFlags, ObjectAceFlags, Guid, Guid) : bool

Removes the specified access control rule from the current System.Security.AccessControl.DiscretionaryAcl object. Use this method for directory object Access Control Lists (ACLs) when specifying the object type or the inherited object type.

RemoveAccessSpecific(AccessControlType, System.Security.Principal.SecurityIdentifier, int, InheritanceFlags, PropagationFlags)

Removes the specified Access Control Entry (ACE) from the current System.Security.AccessControl.DiscretionaryAcl object.

RemoveAccessSpecific(AccessControlType, System.Security.Principal.SecurityIdentifier, int, InheritanceFlags, PropagationFlags, ObjectAceFlags, Guid, Guid)

Removes the specified Access Control Entry (ACE) from the current System.Security.AccessControl.DiscretionaryAcl object. Use this method for directory object Access Control Lists (ACLs) when specifying the object type or the inherited object type for the ACE to be removed.

SetAccess(AccessControlType, System.Security.Principal.SecurityIdentifier, int, InheritanceFlags, PropagationFlags)

Sets the specified access control for the specified System.Security.Principal.SecurityIdentifier object.

SetAccess(AccessControlType, System.Security.Principal.SecurityIdentifier, int, InheritanceFlags, PropagationFlags, ObjectAceFlags, Guid, Guid)

Sets the specified access control for the specified System.Security.Principal.SecurityIdentifier object.