Ilumnis Authentication

Role.GetUsers Method (Int32)

Gets users that have role with specific RoleId.

public static User[] GetUsers(
   int roleId
);

Parameters

roleId
RoleId of role for which to retrieve users.

Return Value

Array or users that have specified role.

Exceptions

Exception Type Condition
InvalidRoleIdentifierException Thrown if invalid roleId is passed.

See Also

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