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