If provided authority is array of authorities. Method make intersection of the provided authorities and user's authorities. If calculated intersection isn't empty returns true, otherwise false.
Checks whether the user has role with a specific stringId
ID of the role we want to check
Checks whether the user has a role with the specified identifier in a process with the specified identifier (any version), or if the role is global (with prefix 'global_').
identifier (import ID) of the role we want to check
identifier (import ID) of the process the role is defined in
Checks whether the user has role with the specified name in a process with the specified identifier (any version)
name of the role we want to check
identifier (import ID) of the process the role is defined in
Generated using TypeDoc
Check if user has specified authority.