GenericAcl Class

 

Represents an access control list (ACL) and is the base class for the CommonAcl, DiscretionaryAcl, RawAcl, and SystemAcl classes.

Namespace:   System.Security.AccessControl
Assembly:  mscorlib (in mscorlib.dll)


public abstract class GenericAcl : ICollection, IEnumerable

NameDescription
System_CAPS_protmethodGenericAcl()

Initializes a new instance of the GenericAcl class.

NameDescription
System_CAPS_pubpropertyBinaryLength

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.

System_CAPS_pubpropertyCount

Gets the number of access control entries (ACEs) in the current GenericAcl object.

System_CAPS_pubpropertyIsSynchronized

This property is always set to false. It is implemented only because it is required for the implementation of the ICollection interface.

System_CAPS_pubpropertyItem[Int32]

Gets or sets the GenericAce at the specified index.

System_CAPS_pubpropertyRevision

Gets the revision level of the GenericAcl.

System_CAPS_pubpropertySyncRoot

This property always returns null. It is implemented only because it is required for the implementation of the ICollection interface.

NameDescription
System_CAPS_pubmethodCopyTo(GenericAce[], Int32)

Copies each GenericAce of the current GenericAcl into the specified array.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetBinaryForm(Byte[], Int32)

Marshals the contents of the GenericAcl object into the specified byte array beginning at the specified offset.

System_CAPS_pubmethodGetEnumerator()

Retrieves an object that you can use to iterate through the access control entries (ACEs) in an access control list (ACL).

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

NameDescription
System_CAPS_pubfieldSystem_CAPS_staticAclRevision

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.

System_CAPS_pubfieldSystem_CAPS_staticAclRevisionDS

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.

System_CAPS_pubfieldSystem_CAPS_staticMaxBinaryLength

The maximum allowed binary length of a GenericAcl object.

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodICollection.CopyTo(Array, Int32)

Copies each GenericAce of the current GenericAcl into the specified array.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIEnumerable.GetEnumerator()

Returns a new instance of the AceEnumerator class cast as an instance of the IEnumerator interface.

NameDescription
System_CAPS_pubmethodAsParallel()

Overloaded. Enables parallelization of a query.(Defined by ParallelEnumerable.)

System_CAPS_pubmethodAsQueryable()

Overloaded. Converts an IEnumerable to an IQueryable.(Defined by Queryable.)

System_CAPS_pubmethodCast<TResult>()

Casts the elements of an IEnumerable to the specified type.(Defined by Enumerable.)

System_CAPS_pubmethodOfType<TResult>()

Filters the elements of an IEnumerable based on a specified type.(Defined by Enumerable.)

.NET Framework
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.

Return to top
Show: