ActiveDirectorySecurity::PurgeAccessRules Method (IdentityReference^)
.NET Framework (current version)
Removes all access rules associated with the specified IdentityReference.
Assembly: System.DirectoryServices (in System.DirectoryServices.dll)
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
Available since 2.0
Show: