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 invalid roleId is passed. |
RoleCollection Class | IExSys.Authentication Namespace | RoleCollection.HasRole Overload List