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

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

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
public bool GetAllRolesPaged (
    int StartIndex,
    int pageSize,
    ref IRole[] roles
HRESULT GetAllRolesPaged(
  long StartIndex,
  long pageSize,
  SAFEARRAY(IRole)** roles
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 SAFEARRAY(IRole*)*

Product Availability

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

See Also

IRoleStore Interface