コード例 #1
0
 public function update_user_info($username)
 {
     $userEntry = $this->get_user_info($username);
     $userEntry->login->changePasswordAtNextLogin = true;
     $client = Zend_Gdata_ClientLogin::getHttpClient($this->email, $this->password, Zend_Gdata_Gapps::AUTH_SERVICE_NAME);
     $gdata = new Zend_Gdata_Gapps($client, $this->domain);
     $gdata->updateUser($username, $userEntry);
 }