Checks if a role is assigned to this user.
true if role is assigned to this user, otherwise false.
Exception Type | Condition |
---|---|
RoleException | Thrown when invalid roleName is passed. |
User Class | IExSys.Authentication Namespace | User.HasRole Overload List