System.Security.AccessControl.GenericAcl Members

The members of System.Security.AccessControl.GenericAcl are listed below.

See Also: Inherited members from System.Object

Protected Constructors

Initializes a new instance of the System.Security.AccessControl.GenericAcl class.

Public Fields

static readonly
AclRevisionbyte (2).

The revision level of the current System.Security.AccessControl.GenericAcl. This value is returned by the GenericAcl.Revision property for Access Control Lists (ACLs) that are not associated with Directory Services objects.

static readonly
AclRevisionDSbyte (4).

The revision level of the current System.Security.AccessControl.GenericAcl. This value is returned by the GenericAcl.Revision property for Access Control Lists (ACLs) that are associated with Directory Services objects.

static readonly
MaxBinaryLengthint (65536).

The maximum allowed binary length of a System.Security.AccessControl.GenericAcl object.

Public Properties

[read-only]
abstract
BinaryLengthint.

Gets the length, in bytes, of the binary representation of the current System.Security.AccessControl.GenericAcl object. This length should be used before marshaling the ACL into a binary array with the GenericAcl.GetBinaryForm method.

[read-only]
abstract
Countint.

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

[read-only]
IsSynchronizedbool.

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

default property
abstract
Item(int)GenericAce. Documentation for this section has not yet been entered.
[read-only]
abstract
Revisionbyte.

Gets the revision level of the System.Security.AccessControl.GenericAcl.

[read-only]
SyncRootobject.

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

Public Methods

CopyTo(GenericAce[], int)

Copies each System.Security.AccessControl.GenericAce of the current System.Security.AccessControl.GenericAcl into the specified array.

abstract
GetBinaryForm(byte[], int)

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

GetEnumerator() : AceEnumerator

Returns a new instance of the System.Security.AccessControl.AceEnumerator class.

Explicitly Implemented Interface Members

ICollection.CopyTo

Copies each System.Security.AccessControl.GenericAce of the current System.Security.AccessControl.GenericAcl into the specified array.

IEnumerable.GetEnumerator

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