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


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

IRoleStore.AddRole Method

Add a new role to the role store.

[Visual Basic .NET]
Public Sub AddRole ( _
    ByVal pRole As IRole _
)
[C#]
public void AddRole (
    IRole pRole
);
[C++]
HRESULT AddRole(
  IRole* pRole
);
[C++]

Parameters pRole [in]
pRole is a parameter of type IRole

Product Availability

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

See Also

IRoleStore Interface