GenericAcl Class
Represents an access control list (ACL) and is the base class for the CommonAcl, DiscretionaryAcl, RawAcl, and SystemAcl classes.
Assembly: mscorlib (in mscorlib.dll)
System.Security.AccessControl::GenericAcl
System.Security.AccessControl::CommonAcl
System.Security.AccessControl::RawAcl
| Name | Description | |
|---|---|---|
![]() | GenericAcl() | Initializes a new instance of the GenericAcl class. |
| 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[Int32] | Gets or sets the GenericAce at the specified index. |
![]() | Revision | Gets the revision level of the GenericAcl. |
![]() | SyncRoot | This property always returns null. It is implemented only because it is required for the implementation of the ICollection interface. |
| Name | Description | |
|---|---|---|
![]() | CopyTo(array<GenericAce^>^, Int32) | 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(array<Byte>^, Int32) | Marshals the contents of the GenericAcl object into the specified byte array beginning at the specified offset. |
![]() | GetEnumerator() | Retrieves an object that you can use to iterate through the access control entries (ACEs) in an access control list (ACL). |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | MemberwiseClone() | |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
| 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(Array^, Int32) | 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. |
| Name | Description | |
|---|---|---|
![]() | AsParallel() | Overloaded. Enables parallelization of a query.(Defined by ParallelEnumerable.) |
![]() | AsQueryable() | Overloaded. 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.) |
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.






