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


IRoleStore.GetRole Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Server)  

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,
  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.

See Also

IRoleStore Interface