Ilumnis Authentication

User.HasRole Method (Role)

Checks if a role is assigned to this user.

public bool HasRole(
   Role role
);

Parameters

role
Role to check for.

Return Value

true if role is assigned to this user, otherwise false.

See Also

User Class | IExSys.Authentication Namespace | User.HasRole Overload List