System.Security.AccessControl.DiscretionaryAcl: Method Members

The methods of System.Security.AccessControl.DiscretionaryAcl are listed below. For a list of all members, see the DiscretionaryAcl Members list.

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

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.