This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Server > ESRI.ArcGIS.Server > Interfaces > IR > IRoleStore Interface > IRoleStore.GetRole Method (ArcObjects .NET 10.4 SDK) |
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