Ilumnis Authentication

AuthenticationStorage.GetUserRoles Method 

Uses data layer to load roles assigned to a user.

public static RoleCollection GetUserRoles(
   int userId
);

Parameters

userId
User for which to retrieve roles.

Return Value

RoleCollection containing all roles assignet to user.

Exceptions

Exception Type Condition
StorageLoadException Thrown when current storage can't load requested user roles.

See Also

AuthenticationStorage Class | IExSys.Authentication.Storage Namespace