This documentation is archived and is not being maintained.

CommonAcl Members

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

The CommonAcl type exposes the following members.

  NameDescription
Public method CopyTo Copies each GenericAce of the current GenericAcl into the specified array. (Inherited from GenericAcl.)
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetBinaryForm Marshals the contents of the CommonAcl object into the specified byte array beginning at the specified offset. (Overrides GenericAcl.GetBinaryForm(Byte[], Int32).)
Public method GetEnumerator Returns a new instance of the AceEnumerator class. (Inherited from GenericAcl.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Purge Removes all access control entries (ACEs) contained by this CommonAcl object that are associated with the specified SecurityIdentifier object.
Public method RemoveInheritedAces Removes all inherited access control entries (ACEs) from this CommonAcl object.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Public property BinaryLength Gets the length, in bytes, of the binary representation of the current CommonAcl object. This length should be used before marshaling the access control list (ACL) into a binary array by using the GetBinaryForm method. (Overrides GenericAcl.BinaryLength.)
Public property Count Gets the number of access control entries (ACEs) in the current CommonAcl object. (Overrides GenericAcl.Count.)
Public property IsCanonical Gets a Boolean value that specifies whether the access control entries (ACEs) in the current CommonAcl object are in canonical order.
Public property IsContainer Sets whether the CommonAcl object is a container.
Public property IsDS Sets whether the current CommonAcl object is a directory object access control list (ACL).
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. (Inherited from GenericAcl.)
Public property Item Gets or sets the CommonAce at the specified index. (Overrides GenericAcl.Item[Int32].)
Public property Revision Gets the revision level of the CommonAcl. (Overrides GenericAcl.Revision.)
Public property SyncRoot This property always returns null. It is implemented only because it is required for the implementation of the ICollection interface. (Inherited from GenericAcl.)
Top

  NameDescription
Explicit interface implemetation Private method ICollection.CopyTo Copies each GenericAce of the current GenericAcl into the specified array. (Inherited from GenericAcl.)
Explicit interface implemetation Private method IEnumerable.GetEnumerator Returns a new instance of the AceEnumerator class cast as an instance of the IEnumerator interface. (Inherited from GenericAcl.)
Top
Show: