DirHumanParticipant.hasRoleAssigned(role,parametricValue)

Indicates if the participant has assigned the given role with the given parametric value. This applies for parametric roles, and the parametric value must not be null. 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 the participant update.

Arguments:

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