Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

DiscretionaryAcl.RemoveAccess Method

Removes the specified access control rule from the current DiscretionaryAcl object.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method RemoveAccess(AccessControlType, SecurityIdentifier, Int32, InheritanceFlags, PropagationFlags) Removes the specified access control rule from the current DiscretionaryAcl object.
Public method RemoveAccess(AccessControlType, SecurityIdentifier, Int32, InheritanceFlags, PropagationFlags, ObjectAceFlags, Guid, Guid) Removes the specified access control rule from the current DiscretionaryAcl object. Use this method for directory object Access Control Lists (ACLs) when specifying the object type or the inherited object type.
Top

Access removal is accomplished by using a complex algorithm that might add ACEs in addition to removing them.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.