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,
IRole** pRole
);
[C++]Parameters
rolename [in] rolename is a parameter of type BSTR pRole [out, retval]pRole is a parameter of type IRole
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.