RawAcl Class

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Represents an Access Control List (ACL).

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

System.Object
  System.Security.AccessControl.GenericAcl
    System.Security.AccessControl.RawAcl

Public NotInheritable Class RawAcl
	Inherits GenericAcl

NameDescription
System_CAPS_pubmethodRawAcl(Byte, Int32)

Initializes a new instance of the RawAcl class with the specified revision level.

System_CAPS_pubmethodRawAcl(Byte(), Int32)

Initializes a new instance of the RawAcl class from the specified binary form.

NameDescription
System_CAPS_pubpropertyBinaryLength

Gets the length, in bytes, of the binary representation of the current RawAcl object. This length should be used before marshaling the ACL into a binary array with the GetBinaryForm method.(Overrides GenericAcl.BinaryLength.)

System_CAPS_pubpropertyCount

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

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.(Inherited from GenericAcl.)

System_CAPS_pubpropertyItem(Int32)

Gets or sets the Access Control Entry (ACE) at the specified index.(Overrides GenericAcl.Item(Int32).)

System_CAPS_pubpropertyRevision

Gets the revision level of the RawAcl.(Overrides GenericAcl.Revision.)

System_CAPS_pubpropertySyncRoot

This property always returns null. It is implemented only because it is required for the implementation of the ICollection interface.(Inherited from GenericAcl.)

NameDescription
System_CAPS_pubmethodCopyTo(GenericAce(), Int32)

Copies each GenericAce of the current GenericAcl into the specified array.(Inherited from GenericAcl.)

System_CAPS_pubmethodEquals(Object)

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

System_CAPS_pubmethodGetBinaryForm(Byte(), Int32)

Marshals the contents of the RawAcl object into the specified byte array beginning at the specified offset.(Overrides GenericAcl.GetBinaryForm(Byte(), Int32).)

System_CAPS_pubmethodGetEnumerator()

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

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_pubmethodInsertAce(Int32, GenericAce)

Inserts the specified Access Control Entry (ACE) at the specified index.

System_CAPS_pubmethodRemoveAce(Int32)

Removes the Access Control Entry (ACE) at the specified location.

System_CAPS_pubmethodToString()

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

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodICollection.CopyTo(Array, Int32)

Copies each GenericAce of the current GenericAcl into the specified array.(Inherited from GenericAcl.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIEnumerable.GetEnumerator()

Returns a new instance of the AceEnumerator class cast as an instance of the IEnumerator interface.(Inherited from GenericAcl.)

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(Of TResult)()

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

System_CAPS_pubmethodOfType(Of TResult)()

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

The RawAcl class allows full manipulation of Access Control Entries (ACEs). It does not enforce ordering rules for ACEs and does not provide validation logic. Any ACE can be inserted, modified, or removed at any location in the ACL.

.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: