This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Server > ESRI.ArcGIS.Server > Interfaces > IP > IPermissionsAdmin2 Interface > IPermissionsAdmin2.CleanPermissions Method (ArcObjects .NET 10.5 SDK) |
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
Use the CleanPermissions method to delete all allow/deny rules from all resources associated with the specified principal.