Assembly: mscorlib (in mscorlib.dll)
Gets the number of access control entries (ACEs) in the current GenericAcl.Count.)object.(Overrides
Gets a Boolean value that specifies whether the access control entries (ACEs) in the currentobject are in canonical order.
Sets whether theobject is a container.
Sets whether the currentobject is a directory object access control list (ACL).
Gets the revision level of the GenericAcl.Revision.).(Overrides
Determines whether the specified object is equal to the current object.(Inherited from Object.)
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)
Marshals the contents of the GenericAcl.GetBinaryForm(Byte, Int32).)object into the specified byte array beginning at the specified offset.(Overrides
Retrieves an object that you can use to iterate through the access control entries (ACEs) in an access control list (ACL).(Inherited from GenericAcl.)
Serves as the default hash function. (Inherited from Object.)
Removes all access control entries (ACEs) contained by this SecurityIdentifier object.object that are associated with the specified
Removes all inherited access control entries (ACEs) from thisobject.
Returns a string that represents the current object.(Inherited from Object.)
Overloaded. Enables parallelization of a query.(Defined by ParallelEnumerable.)
Certain combinations of inheritance and access mask flags are meaningless:
Any access control entry (ACE) with a zero-access mask is removed.
Inherit-only ACEs inside object ACLs are removed.
On DACLs, SystemAudit and SystemAlarm ACEs are removed.
On system access control lists (SACLs), AccessAllowed and AccessDenied ACEs are removed.
Canonical order is maintained according to the following algorithm:
Explicit ACEs take precedence over inherited ACEs; this rule applies to both DACLs and SACLs.
In DACLs, among the explicit ACEs, ACEs that deny access take precedence over ACEs that allow access. For directory object ACLs, the nonobject ACEs come before object ACEs.
All common ACEs take precedence over noncommon ACEs.
Inherited ACEs maintain their relative order after canonicity.
Unrecognized and custom ACEs are disallowed in both DACLs and SACLs.
Within contiguous ranges (explicit AccessDenied and AccessAllowed ACEs on DACLs, all explicit ACEs on SACLs), the ACEs are sorted by using the CompareTo methods of the SecurityIdentifier objects associated with the ACEs.
Adjacent ACEs are combined, if appropriate. This reduces the size of the ACL without affecting the access control semantics it grants.
Available since 10
Available since 2.0
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.