GPPermissionCollection Methods

 

Namespace:   Microsoft.GroupPolicy
Assembly:  Microsoft.GroupPolicy.Management (in Microsoft.GroupPolicy.Management.dll)

Methods

Name Description
System_CAPS_pubmethod Add(GPPermission)

Adds the permission specified in a GPPermission object to the GPPermissionCollection instance. You can add a permission that is above the level of existing permissions. For more information, see the Remarks section.

System_CAPS_pubmethod Clear()

Removes all GPPermission objects from the GPPermissionCollection instance.

System_CAPS_pubmethod CopyTo(GPPermission[], Int32)

Copies the elements of the GPPermissionCollection instance to the specified one-dimensional array of GPPermission objects, starting at the specified index (in the destination array).

System_CAPS_pubmethod Dispose()

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Overrides Object.Finalize().)

System_CAPS_pubmethod GetEnumerator()

Returns an enumerator that enumerates through the GPPermissionCollection instance.

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod Remove(GPPermission)

Removes the permission specified in the specified GPPermission object from the GPPermissionCollection instance.

System_CAPS_pubmethod RemoveAt(Int32)

Removes the GPPermission object at the specified position from the GPPermissionCollection instance.

System_CAPS_pubmethod RemoveTrustee(IdentityReference)

Removes all policy-related permissions for the trustee that is specified by the IdentityReference from the GPPermissionCollection instance.

System_CAPS_pubmethod RemoveTrustee(String)

Removes all policy-related permissions for the trustee that has the specified name from the GPPermissionCollection instance.

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Explicit Interface Implementations

Name Description
System_CAPS_pubinterfaceSystem_CAPS_privmethod ICollection<GPPermission>.Contains(GPPermission)

System_CAPS_pubinterfaceSystem_CAPS_privmethod ICollection<GPPermission>.Remove(GPPermission)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IList<GPPermission>.IndexOf(GPPermission)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IList<GPPermission>.Insert(Int32, GPPermission)

System_CAPS_pubinterfaceSystem_CAPS_privmethod ICollection.CopyTo(Array, Int32)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IEnumerable.GetEnumerator()

System_CAPS_pubinterfaceSystem_CAPS_privmethod IList.Add(Object)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IList.Clear()

System_CAPS_pubinterfaceSystem_CAPS_privmethod IList.Contains(Object)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IList.IndexOf(Object)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IList.Insert(Int32, Object)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IList.Remove(Object)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IList.RemoveAt(Int32)

See Also

GPPermissionCollection Class
Microsoft.GroupPolicy Namespace

Return to top