Role class

class Role(string rolename)

The Role object represents a role in a process instance.

Namespace:

IYOPRO.Api

Assembly:

IYOPRO.Api (in IYOPRO.Api.dll)

 Methods

RoleUser AddUser(string account)

Add a user to the role by specifying the account

void RemoveUser(string account)

Remove a user from the role by specifying the account

 Properties

string Name

Gets the name of the role

RoleMembers Members

Gets the members of the role