src/Yandex/Metrica/Management/GrantsClient.php
public function getGrant($counterId, $userLogin, $params = [])
    {
        $resource = 'counter/' . $counterId . '/grant/' . $userLogin;
        $response = $this->sendGetRequest($resource, $params);
        $grantResponse = new Models\GetGrantResponse($response);
        return $grantResponse->getGrant();
    }
public function getGrant($counterId, $userLogin, $params = [])
    {
        $resource = 'counter/' . $counterId . '/grant/' . $userLogin;
        $response = $this->sendGetRequest($resource, $params);
        $grantResponse = new Models\GetGrantResponse($response);
        return $grantResponse->getGrant();
    }
public function getGrant ( $ counterId , $ userLogin , $ params = [ ] ) { $ resource = 'counter/' . $ counterId . '/grant/' . $ userLogin ; $ response = $ this -> sendGetRequest ( $ resource , $ params ) ; $ grantResponse = new Models \ GetGrantResponse ( $ response ) ; return $ grantResponse -> getGrant ( ) ; }
Get counter grant

@see http://api.yandex.ru/metrika/doc/beta/management/grants/grantold.xml

@param int $counterId
@param string $userLogin
@param array $params
@return Models\Grant
Get counter grant