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
[C#] public bool GetAllRoles ( string filter, int maxCount, ref IRole[] roles );
[C++]
HRESULT GetAllRoles(
BSTR filter,
long maxCount,
Array* roles,
VARIANT_BOOL* hasMore
);
[C++]Parameters
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 Array hasMore [out, retval] hasMore is a parameter of type VARIANT_BOOL
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.