Zend/Gdata/Gapps.php
public function insertUser($user, $uri = null)
    {
        if ($uri === null) {
            $uri = $this->getBaseUrl() . self::APPS_USER_PATH;
        }
        $newEntry = $this->insertEntry($user, $uri, 'Zend_Gdata_Gapps_UserEntry');
        return $newEntry;
    }
public function insertUser($user, $uri = null)
    {
        if ($uri === null) {
            $uri = $this->getBaseUrl() . self::APPS_USER_PATH;
        }
        $newEntry = $this->insertEntry($user, $uri, 'Zend_Gdata_Gapps_UserEntry');
        return $newEntry;
    }
public function insertUser ( $ user , $ uri = null ) { if ( $ uri === null ) { $ uri = $ this -> getBaseUrl ( ) . self :: APPS_USER_PATH ; } $ newEntry = $ this -> insertEntry ( $ user , $ uri , 'Zend_Gdata_Gapps_UserEntry' ) ; return $ newEntry ; }
Create a new user from a UserEntry.

@param Zend_Gdata_Gapps_UserEntry $user The user entry to insert.
@param string $uri (optional) The URI where the user should be
uploaded to. If null, the default user creation URI for
this domain will be used.
@return Zend_Gdata_Gapps_UserEntry The inserted user entry as
returned by the server.
@throws Zend_Gdata_App_Exception
@throws Zend_Gdata_App_HttpException
@throws Zend_Gdata_Gapps_ServiceException
Create a new user from a UserEntry .