AddUpdateRoleHelper

Syntax

public class AddUpdateRoleHelper

Constructors

public AddUpdateRoleHelper();

Namespace and Assembly

Requirement Value

Namespace

Ascentn.Workflow.Base

Assembly

Ascentn.Workflow.WFBase (in Ascentn.Workflow.WFBase.dll)

Properties

Property Description

RoleName

Function:
The name of a role.
Type
string
Accepted Values:
A valid role name.

Description

Function:
A description of an entity.
Type
string
Accepted Values:
A string that can contain spaces and special characters.

Rights

Function:
Specifies the rights that are assigned to the Role.
Type
WFAccessRights
Accepted Values:
An array of index values. See the table for appropriate indexes.

WFAccessRights provides the enums for rights. See the sample code for more information.

Enabled

Function:
Enables or disables an entity.
Type
bool
Accepted Values:
  • True - Enables the entity.
  • False - Disables the entity.