fluid-ws-java-client/src/main/java/com/fluidbpm/ws/client/v1/user/UserClient.java
public UserListing getAllUsersByRole(Role roleParam) {
        if(this.serviceTicket != null && roleParam != null) {
            roleParam.setServiceTicket(this.serviceTicket);
        }

        try {
            return new UserListing(this.postJson(
                    roleParam, WS.Path.User.Version1.getAllUsersByRole()));
        } catch (JSONException jsonExcept) {
            throw new FluidClientException(jsonExcept.getMessage(),
                    FluidClientException.ErrorCode.JSON_PARSING);
        }
    }
public UserListing getAllUsersByRole(Role roleParam) {
        if(this.serviceTicket != null && roleParam != null) {
            roleParam.setServiceTicket(this.serviceTicket);
        }

        try {
            return new UserListing(this.postJson(
                    roleParam, WS.Path.User.Version1.getAllUsersByRole()));
        } catch (JSONException jsonExcept) {
            throw new FluidClientException(jsonExcept.getMessage(),
                    FluidClientException.ErrorCode.JSON_PARSING);
        }
    }
Retrieves all Users by {@code roleParam}.

@return User information at {@code UserListing}

@param roleParam The {@link Role} to get users for.

@see UserListing
@see Role