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

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

IRoleStore.GetAllRoles Method

Returns a maxCount of roles from the role store that match a particular filter.

[Visual Basic .NET]
Public Function GetAllRoles ( _
    ByVal filter As String, _
    ByVal maxCount As Integer, _
    ByRef roles As IRole[] _
) As Boolean
public bool GetAllRoles (
    string filter,
    int maxCount,
    ref IRole[] roles
HRESULT GetAllRoles(
  BSTR filter,
  long maxCount,
  SAFEARRAY(IRole)** roles
filter [in]

filter is a parameter of type BSTR maxCount [in]
maxCount 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