src/Client.php
public function getUser($user)
    {
        $params = [
            'name' => $user,
        ];

        $body = $this->request(self::URI_AUTH_USER_GET, $params);
        if ($this->pretty && isset($body['roles'])) {
            return $body['roles'];
        }

        return $body;
    }
public function getUser($user)
    {
        $params = [
            'name' => $user,
        ];

        $body = $this->request(self::URI_AUTH_USER_GET, $params);
        if ($this->pretty && isset($body['roles'])) {
            return $body['roles'];
        }

        return $body;
    }
public function getUser ( $ user ) { $ params = [ 'name' => $ user , ] ; $ body = $ this -> request ( self :: URI_AUTH_USER_GET , $ params ) ; if ( $ this -> pretty && isset ( $ body [ 'roles' ] ) ) { return $ body [ 'roles' ] ; } return $ body ; }
get detailed user information

@param  string $user
@return array
@throws \GuzzleHttp\Exception\BadResponseException
get detailed user information