This documentation is archived and is not being maintained.
SystemAcl Class
Visual Studio 2010
Represents a System Access Control List (SACL).
System::Object
System.Security.AccessControl::GenericAcl
System.Security.AccessControl::CommonAcl
System.Security.AccessControl::SystemAcl
System.Security.AccessControl::GenericAcl
System.Security.AccessControl::CommonAcl
System.Security.AccessControl::SystemAcl
Assembly: mscorlib (in mscorlib.dll)
The SystemAcl type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | SystemAcl(Boolean, Boolean, Int32) | Initializes a new instance of the SystemAcl class with the specified values. |
![]() | SystemAcl(Boolean, Boolean, RawAcl) | Initializes a new instance of the SystemAcl class with the specified values from the specified RawAcl object. |
![]() | SystemAcl(Boolean, Boolean, Byte, Int32) | Initializes a new instance of the SystemAcl class with the specified values. |
| Name | Description | |
|---|---|---|
![]() | BinaryLength | Gets the length, in bytes, of the binary representation of the current CommonAcl object. This length should be used before marshaling the access control list (ACL) into a binary array by using the GetBinaryForm() method. (Inherited from CommonAcl.) |
![]() | Count | Gets the number of access control entries (ACEs) in the current CommonAcl object. (Inherited from CommonAcl.) |
![]() | IsCanonical | Gets a Boolean value that specifies whether the access control entries (ACEs) in the current CommonAcl object are in canonical order. (Inherited from CommonAcl.) |
![]() | IsContainer | Sets whether the CommonAcl object is a container. (Inherited from CommonAcl.) |
![]() | IsDS | Sets whether the current CommonAcl object is a directory object access control list (ACL). (Inherited from CommonAcl.) |
![]() | IsSynchronized | This property is always set to false. It is implemented only because it is required for the implementation of the ICollection interface. (Inherited from GenericAcl.) |
![]() | Item | Gets or sets the CommonAce at the specified index. (Inherited from CommonAcl.) |
![]() | Revision | Gets the revision level of the CommonAcl. (Inherited from CommonAcl.) |
![]() | SyncRoot | This property always returns nullptr. It is implemented only because it is required for the implementation of the ICollection interface. (Inherited from GenericAcl.) |
| Name | Description | |
|---|---|---|
![]() | AddAudit(AuditFlags, SecurityIdentifier, Int32, InheritanceFlags, PropagationFlags) | Adds an audit rule to the current SystemAcl object. |
![]() | AddAudit(AuditFlags, SecurityIdentifier, Int32, InheritanceFlags, PropagationFlags, ObjectAceFlags, Guid, Guid) | Adds an audit rule with the specified settings to the current SystemAcl object. Use this method for directory object Access Control Lists (ACLs) when specifying the object type or the inherited object type for the new audit rule. |
![]() | CopyTo | Copies each GenericAce of the current GenericAcl into the specified array. (Inherited from GenericAcl.) |
![]() | Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetBinaryForm | Marshals the contents of the CommonAcl object into the specified byte array beginning at the specified offset. (Inherited from CommonAcl.) |
![]() | GetEnumerator | Returns a new instance of the AceEnumerator class. (Inherited from GenericAcl.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | Purge | Removes all access control entries (ACEs) contained by this CommonAcl object that are associated with the specified SecurityIdentifier object. (Inherited from CommonAcl.) |
![]() | RemoveAudit(AuditFlags, SecurityIdentifier, Int32, InheritanceFlags, PropagationFlags) | Removes the specified audit rule from the current SystemAcl object. |
![]() | RemoveAudit(AuditFlags, SecurityIdentifier, Int32, InheritanceFlags, PropagationFlags, ObjectAceFlags, Guid, Guid) | Removes the specified audit rule from the current SystemAcl object. Use this method for directory object Access Control Lists (ACLs) when specifying the object type or the inherited object type. |
![]() | RemoveAuditSpecific(AuditFlags, SecurityIdentifier, Int32, InheritanceFlags, PropagationFlags) | Removes the specified audit rule from the current DiscretionaryAcl object. |
![]() | RemoveAuditSpecific(AuditFlags, SecurityIdentifier, Int32, InheritanceFlags, PropagationFlags, ObjectAceFlags, Guid, Guid) | Removes the specified audit 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. |
![]() | RemoveInheritedAces | Removes all inherited access control entries (ACEs) from this CommonAcl object. (Inherited from CommonAcl.) |
![]() | SetAudit(AuditFlags, SecurityIdentifier, Int32, InheritanceFlags, PropagationFlags) | Sets the specified audit rule for the specified SecurityIdentifier object. |
![]() | SetAudit(AuditFlags, SecurityIdentifier, Int32, InheritanceFlags, PropagationFlags, ObjectAceFlags, Guid, Guid) | Sets the specified audit rule for the specified SecurityIdentifier object. Use this method for directory object Access Control Lists (ACLs) when specifying the object type or the inherited object type. |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() ![]() | ICollection::CopyTo | Copies each GenericAce of the current GenericAcl into the specified array. (Inherited from GenericAcl.) |
![]() ![]() | IEnumerable::GetEnumerator | Returns a new instance of the AceEnumerator class cast as an instance of the IEnumerator interface. (Inherited from GenericAcl.) |
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show:
