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


IUserStore.GetAllUsers Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Server)  

IUserStore.GetAllUsers Method

Returns a maxCount of users from the user store that match a particular filter.

[Visual Basic .NET]
Public Function GetAllUsers ( _
    ByVal filter As String, _
    ByVal maxCount As Integer, _
    ByRef users As IUser[] _
) As Boolean
[C#]
public bool GetAllUsers (
    string filter,
    int maxCount,
    ref IUser[] users
);
[C++]
HRESULT GetAllUsers(
  BSTR filter,
  long maxCount,
  Array* users,
  VARIANT_BOOL* hasMore
);
[C++]

Parameters filter [in] filter is a parameter of type BSTR maxCount [in] maxCount is a parameter of type long users [out] users is a parameter of type Array hasMore [out, retval] hasMore is a parameter of type VARIANT_BOOL

Product Availability

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

See Also

IUserStore Interface