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


IRoleStore.GetAllRolesPaged Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Server)  

IRoleStore.GetAllRolesPaged Method

Returns a pageSize of roles from the role store from the startIndex.

[Visual Basic .NET]
Public Function GetAllRolesPaged ( _
    ByVal StartIndex As Integer, _
    ByVal pageSize As Integer, _
    ByRef roles As IRole[] _
) As Boolean
[C#]
public bool GetAllRolesPaged (
    int StartIndex,
    int pageSize,
    ref IRole[] roles
);
[C++]
HRESULT GetAllRolesPaged(
  long StartIndex,
  long pageSize,
  Array* roles,
  VARIANT_BOOL* hasMore
);
[C++]

Parameters StartIndex [in] StartIndex is a parameter of type long pageSize [in] pageSize is a parameter of type long roles [out] roles 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

IRoleStore Interface