This document is archived and information here might be outdated. Recommended version. |
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.