DirOrganizationalGroup.hasRoleAssigned(role)

Indicates if the group has the given role id assigned. 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