Ilumnis Authentication

AuthenticationStorage.NewRole Method (Int32, String)

Uses data layer to create new role.

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

Parameters

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

Return Value

New role object.

Exceptions

Exception Type Condition
StorageInsertException Thrown when current storage can't create requested role.

See Also

AuthenticationStorage Class | IExSys.Authentication.Storage Namespace | AuthenticationStorage.NewRole Overload List