Ilumnis Authentication

Role.New Method (Int32, String)

Creates new role.

public static Role New(
   int roleId,
   string roleName
);

Parameters

roleId
RoleId for new role.
roleName
Name for new role.

Return Value

New role object.

Exceptions

Exception Type Condition
InvalidRoleIdentifierException Thrown if invalid roleId is passed.
InvalidRoleNameException Thrown if invalid roleName is passed.

See Also

Role Class | IExSys.Authentication Namespace | Role.New Overload List