src/WordpressClient.php
function getProfile(array $fields = array())
    {
        $params = array(1, $this->username, $this->password);
        if (!empty($fields)) {
            $params[] = $fields;
        }

        return $this->sendRequest('wp.getProfile', $params);
    }
function getProfile(array $fields = array())
    {
        $params = array(1, $this->username, $this->password);
        if (!empty($fields)) {
            $params[] = $fields;
        }

        return $this->sendRequest('wp.getProfile', $params);
    }
function getProfile ( array $ fields = array ( ) ) { $ params = array ( 1 , $ this -> username , $ this -> password ) ; if ( ! empty ( $ fields ) ) { $ params [ ] = $ fields ; } return $ this -> sendRequest ( 'wp.getProfile' , $ params ) ; }
Retrieve profile of the requesting user.

@param array $fields

@return array

@link http://codex.wordpress.org/XML-RPC_WordPress_API/Users#wp.getProfile
Retrieve profile of the requesting user .