DirHumanParticipant.hasRoleAssigned(role)

Indicates if the participant has assigned the given role. This examines the roles assignment in the object, not in the directory. This means that if you changed the roles assignments, you will be able to check those immediately before performing the participant update.

Arguments:

Name Type Description Mode
role String the id of the role to check in