fluid-ws-java-client/src/main/java/com/fluidbpm/ws/client/v1/user/UserClient.java
public User getUserById(Long userIdParam)
    {
        User userToGetInfoFor = new User();
        userToGetInfoFor.setId(userIdParam);

        if(this.serviceTicket != null)
        {
            userToGetInfoFor.setServiceTicket(this.serviceTicket);
        }

        try {
            return new User(this.postJson(
                    userToGetInfoFor, WS.Path.User.Version1.getById()));
        }
        //
        catch (JSONException jsonExcept) {
            throw new FluidClientException(jsonExcept.getMessage(),
                    FluidClientException.ErrorCode.JSON_PARSING);
        }
    }
public User getUserById(Long userIdParam)
    {
        User userToGetInfoFor = new User();
        userToGetInfoFor.setId(userIdParam);

        if(this.serviceTicket != null)
        {
            userToGetInfoFor.setServiceTicket(this.serviceTicket);
        }

        try {
            return new User(this.postJson(
                    userToGetInfoFor, WS.Path.User.Version1.getById()));
        }
        //
        catch (JSONException jsonExcept) {
            throw new FluidClientException(jsonExcept.getMessage(),
                    FluidClientException.ErrorCode.JSON_PARSING);
        }
    }
Retrieves user information for the provided {@code userIdParam}.

@param userIdParam The ID of the {@code User} to retrieve info for.
@return User information.

@see User