Checks if a role is part of this role collection.
true if role is part of this collection, otherwise false.
| Exception Type | Condition |
|---|---|
| InvalidRoleIdentifierException | Thrown when role.RoleId is invalid. |
RoleCollection Class | IExSys.Authentication Namespace | RoleCollection.HasRole Overload List