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


IRoleStore.RemoveRoles Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Server > ESRI.ArcGIS.Server > Interfaces > IR > IRoleStore Interface > IRoleStore.RemoveRoles Method
ArcGIS Developer Help

IRoleStore.RemoveRoles Method

Removes roles assigned to a user.

[Visual Basic .NET]
Public Sub RemoveRoles ( _
    ByVal UserName As String, _
    ByRef rolenames As String[]& _
)
[C#]
public void RemoveRoles (
    string UserName,
    ref String[]& rolenames
);
[C++]
HRESULT RemoveRoles(
  BSTR UserName,
  SAFEARRAY(System.String)* rolenames
);
[C++]
Parameters
UserName [in]

UserName is a parameter of type BSTR rolenames [in]
rolenames is a parameter of type SAFEARRAY(BSTR)*

Product Availability

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

See Also

IRoleStore Interface