Export (0) Print
Expand All

GenericAcl Members

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

The following tables list the members exposed by the GenericAcl type.

  Name Description
Protected method GenericAcl Initializes a new instance of the GenericAcl class.
Top

  Name Description
Public field Static 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.
Public field Static 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.
Public field Static MaxBinaryLength The maximum allowed binary length of a GenericAcl object.
Top

  Name Description
Public property 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.
Public property Count Gets the number of access control entries (ACEs) in the current GenericAcl object.
Public property IsSynchronized This property is always set to false. It is implemented only because it is required for the implementation of the ICollection interface.
Public property Item Gets or sets the GenericAce at the specified index.
Public property Revision Gets the revision level of the GenericAcl.
Public property SyncRoot This property always returns a null reference (Nothing in Visual Basic). It is implemented only because it is required for the implementation of the ICollection interface.
Top

(see also Protected Methods )
  Name Description
Public method CopyTo Copies each GenericAce of the current GenericAcl into the specified array.
Public method Equals  Overloaded. Determines whether two Object instances are equal. (Inherited from Object.)
Public method GetBinaryForm Marshals the contents of the GenericAcl object into the specified byte array beginning at the specified offset.
Public method GetEnumerator Returns a new instance of the AceEnumerator class.
Public method GetHashCode  Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.)
Public method GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method ToString  Returns a String that represents the current Object. (Inherited from Object.)
Top

  Name Description
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (Inherited from Object.)
Top

  Name Description
Explicit interface implementation Method System.Collections.ICollection.CopyTo Copies each GenericAce of the current GenericAcl into the specified array.
Explicit interface implementation Method System.Collections.IEnumerable.GetEnumerator Returns a new instance of the AceEnumerator class cast as an instance of the IEnumerator interface.
Top

Community Additions

ADD
Show:
© 2014 Microsoft