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


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

IRoleStore.GetRole Method

Returns a role from the role store.

[Visual Basic .NET]
Public Function GetRole ( _
    ByVal rolename As String _
) As IRole
[C#]
public IRole GetRole (
    string rolename
);
[C++]
HRESULT GetRole(
  BSTR rolename
);
[C++]
Parameters
rolename [in]

rolename is a parameter of type BSTR

Product Availability

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

See Also

IRoleStore Interface