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


IRoleStore.AddUsersToRole Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Server)  

IRoleStore.AddUsersToRole Method

Adds users to a role.

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

Parameters rolename [in] rolename is a parameter of type BSTR usernames [in] usernames is a parameter of type

Product Availability

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

See Also

IRoleStore Interface