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

IPermissionsAdmin2.CleanPermissions Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Server > ESRI.ArcGIS.Server > Interfaces > IP > IPermissionsAdmin2 Interface > IPermissionsAdmin2.CleanPermissions Method
ArcGIS Developer Help

IPermissionsAdmin2.CleanPermissions Method

Removes all permissions for a particular principal.

[Visual Basic .NET]
Public Sub CleanPermissions ( _
    ByVal Principal As String _
public void CleanPermissions (
    string Principal
HRESULT CleanPermissions(
  BSTR Principal
Principal [in]

Principal is a parameter of type BSTR

Product Availability

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


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

See Also

IPermissionsAdmin2 Interface