ActiveDirectorySecurity.PurgeAccessRules Method (IdentityReference)

 
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.

Removes all access rules associated with the specified IdentityReference.

Namespace:   System.DirectoryServices
Assembly:  System.DirectoryServices (in System.DirectoryServices.dll)

public override void PurgeAccessRules(
	IdentityReference identity
)

Parameters

identity
Type: System.Security.Principal.IdentityReference

The IdentityReference for which to remove all access rules.

Exception Condition
InvalidOperationException

All access rules are not in canonical order.

.NET Framework
Available since 2.0
Return to top
Show: