Creates new role.
New role object.
| Exception Type | Condition |
|---|---|
| InvalidRoleIdentifierException | Thrown if invalid roleId is passed. |
| InvalidRoleNameException | Thrown if invalid roleName is passed. |
Role Class | IExSys.Authentication Namespace | Role.New Overload List