public Set<String> getEffectiveUserGroups() {
        return entityService.retrieveEffectiveGroups(this,
                Collections.<String>emptySet());
    }
Returns the identifiers of all user groups defined within the database
which apply to this user, including any groups inherited through
membership in yet more groups.

@return
    The identifiers of all user groups defined within the database which
    apply to this user.
extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-base/src/main/java/org/apache/guacamole/auth/jdbc/base/ModeledPermissions.java