DirOrganizationalGroup.hasRoleAssigned(role,parametricValue)

Indicates if the group has the given role id assigned and the given parametric value. This applies for parametric roles, and the parametric value must not be null. It checks if the role id is assigned to the group at that moment and not in the directory. This means that if you have changed the roles assignments, but still not updated it into the directory, you can check it immediately

Arguments:

Name Type Description Mode
role String the role id to check if it is assigned to the group in
parametricValue String the parametric value to check for in