public User getUserWhereUsername(String usernameParam)
    {
        User userToGetInfoFor = new User();
        userToGetInfoFor.setUsername(usernameParam);

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

        try {
            return new User(this.postJson(
                    userToGetInfoFor, WS.Path.User.Version1.getByUsername()));
        }
        //
        catch (JSONException jsonExcept) {
            throw new FluidClientException(jsonExcept.getMessage(),
                    FluidClientException.ErrorCode.JSON_PARSING);
        }
    }
public User getUserWhereUsername(String usernameParam)
    {
        User userToGetInfoFor = new User();
        userToGetInfoFor.setUsername(usernameParam);

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

        try {
            return new User(this.postJson(
                    userToGetInfoFor, WS.Path.User.Version1.getByUsername()));
        }
        
        catch (JSONException jsonExcept) {
            throw new FluidClientException(jsonExcept.getMessage(),
                    FluidClientException.ErrorCode.JSON_PARSING);
        }
    }
public User getUserWhereUsername ( String usernameParam ) { User userToGetInfoFor = new User ( ) ; userToGetInfoFor . setUsername ( usernameParam ) ; if ( this . serviceTicket != null ) { userToGetInfoFor . setServiceTicket ( this . serviceTicket ) ; } try { return new User ( this . postJson ( userToGetInfoFor , WS . Path . User . Version1 . getByUsername ( ) ) ) ; } // catch ( JSONException jsonExcept ) { throw new FluidClientException ( jsonExcept . getMessage ( ) , FluidClientException . ErrorCode . JSON_PARSING ) ; } }
Retrieves user information for the provided {@code usernameParam}.

@param usernameParam The username of the user to retrieve info for.
@return User information.

@see User
Retrieves user information for the provided { @code usernameParam } .