ArcObjects Library Reference (Server)  

IRoleStore.AssignRoles Method

Assigns roles to a user.

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

Parameters

UserName [in]   UserName is a parameter of type BSTR rolenames [in]   rolenames is a parameter of type

Product Availability

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

See Also

IRoleStore Interface