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


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

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