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


IRoleStore.RemoveUsersFromRole 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.RemoveUsersFromRole Method
ArcGIS Developer Help

IRoleStore.RemoveUsersFromRole Method

Removes users from a role.

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

rolename is a parameter of type BSTR usernames [in]
usernames is a parameter of type SAFEARRAY(BSTR)*

Product Availability

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

See Also

IRoleStore Interface