public function setUserAccess($userLogin, $access, $idSites, array $optional = [])
    {
        return $this->_request('UsersManager.setUserAccess', [
            'userLogin' => $userLogin,
            'access' => $access,
            'idSites' => $idSites,
        ], $optional);
    }
public function setUserAccess($userLogin, $access, $idSites, array $optional = [])
    {
        return $this->_request('UsersManager.setUserAccess', [
            'userLogin' => $userLogin,
            'access' => $access,
            'idSites' => $idSites,
        ], $optional);
    }
public function setUserAccess ( $ userLogin , $ access , $ idSites , array $ optional = [ ] ) { return $ this -> _request ( 'UsersManager.setUserAccess' , [ 'userLogin' => $ userLogin , 'access' => $ access , 'idSites' => $ idSites , ] , $ optional ) ; }
Grant access to multiple sites

@param string $userLogin Username
@param string $access
@param array $idSites
@param array $optional
@return bool|object
@throws InvalidRequestException
Grant access to multiple sites