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


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

IRoleStore.GetUsersWithinRole Method

Returns users within a role that match a filter upto a maxCount number.

[Visual Basic .NET]
Public Function GetUsersWithinRole ( _
    ByVal rolename As String, _
    ByVal filter As String, _
    ByVal maxCount As Integer, _
    ByRef usernames As String[]& _
) As Boolean
[C#]
public bool GetUsersWithinRole (
    string rolename,
    string filter,
    int maxCount,
    ref String[]& usernames
);
[C++]
HRESULT GetUsersWithinRole(
  BSTR rolename,
  BSTR filter,
  long maxCount,
  SAFEARRAY(System.String)* usernames
);
[C++]
Parameters
rolename [in]

rolename is a parameter of type BSTR filter [in]
filter is a parameter of type BSTR maxCount [in]
maxCount is a parameter of type long usernames [out]
usernames is a parameter of type SAFEARRAY(BSTR)*

Product Availability

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

See Also

IRoleStore Interface