Export (0) Print
Expand All

ObjectSecurity.PurgeAccessRules Method

Removes all access rules associated with the specified IdentityReference.

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

public virtual void PurgeAccessRules(
	IdentityReference identity
)

Parameters

identity
Type: System.Security.Principal.IdentityReference

The IdentityReference for which to remove all access rules.

ExceptionCondition
InvalidOperationException

All access rules are not in canonical order.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft