This documentation is archived and is not being maintained.
GenericAcl Class
Visual Studio 2010
Represents an access control list (ACL) and is the base class for the CommonAcl, DiscretionaryAcl, RawAcl, and SystemAcl classes.
System::Object
System.Security.AccessControl::GenericAcl
System.Security.AccessControl::CommonAcl
System.Security.AccessControl::RawAcl
System.Security.AccessControl::GenericAcl
System.Security.AccessControl::CommonAcl
System.Security.AccessControl::RawAcl
Assembly: mscorlib (in mscorlib.dll)
The GenericAcl type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | BinaryLength | Gets the length, in bytes, of the binary representation of the current GenericAcl object. This length should be used before marshaling the ACL into a binary array with the GetBinaryForm() method. |
![]() | Count | Gets the number of access control entries (ACEs) in the current GenericAcl object. |
![]() | IsSynchronized | This property is always set to false. It is implemented only because it is required for the implementation of the ICollection interface. |
![]() | Item | Gets or sets the GenericAce at the specified index. |
![]() | Revision | Gets the revision level of the GenericAcl. |
![]() | SyncRoot | This property always returns nullptr. It is implemented only because it is required for the implementation of the ICollection interface. |
| Name | Description | |
|---|---|---|
![]() | CopyTo | Copies each GenericAce of the current GenericAcl into the specified array. |
![]() | 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 GenericAcl object into the specified byte array beginning at the specified offset. |
![]() | GetEnumerator | Returns a new instance of the AceEnumerator class. |
![]() | 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.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() | AsParallel | Enables parallelization of a query. (Defined by ParallelEnumerable.) |
![]() | AsQueryable | Converts an IEnumerable to an IQueryable. (Defined by Queryable.) |
![]() | Cast<TResult> | Casts the elements of an IEnumerable to the specified type. (Defined by Enumerable.) |
![]() | OfType<TResult> | Filters the elements of an IEnumerable based on a specified type. (Defined by Enumerable.) |
| Name | Description | |
|---|---|---|
![]() ![]() | AclRevision | The revision level of the current GenericAcl. This value is returned by the Revision property for Access Control Lists (ACLs) that are not associated with Directory Services objects. |
![]() ![]() | AclRevisionDS | The revision level of the current GenericAcl. This value is returned by the Revision property for Access Control Lists (ACLs) that are associated with Directory Services objects. |
![]() ![]() | MaxBinaryLength | The maximum allowed binary length of a GenericAcl object. |
| Name | Description | |
|---|---|---|
![]() ![]() | ICollection::CopyTo | Copies each GenericAce of the current GenericAcl into the specified array. |
![]() ![]() | IEnumerable::GetEnumerator | Returns a new instance of the AceEnumerator class cast as an instance of the IEnumerator interface. |
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:
