Checks if the user has the specified role, regardless of the scope.
The role to check.
The ID of the user.
Resolves to true if the user has the role, otherwise false.
true
false
Checks if the user has the specified role, regardless of the scope.