This document is archived and information here might be outdated.  Recommended version.


IPermissionsAdmin2.CleanPermissions Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Server)  

IPermissionsAdmin2.CleanPermissions Method

Removes all permissions for a particular principal.

[Visual Basic .NET]
Public Sub CleanPermissions ( _
    ByVal Principal As String _
)
[C#]
public void CleanPermissions (
    string Principal
);
[C++]
HRESULT CleanPermissions(
  BSTR Principal
);
[C++]

Parameters Principal [in] Principal is a parameter of type BSTR

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

Use the CleanPermissions method to delete all allow/deny rules from all resources associated with the specified principal.

See Also

IPermissionsAdmin2 Interface