0
私はhttps://github.com/jamesiarmes/php-ewsをExchange Web Servicesに使用しており、アカウントの連絡先を追加する際に問題が発生しています。偽装アカウントの連絡先を追加する
私は私の偽装の詳細を使用してログインする場合:私は、新しい連絡先を作成したい
$ews = new ExchangeWebServices($this->server_address, $this->server_username, $this->server_password);
を、例えば:
$request = new EWSType_CreateItemType();
$contact = new EWSType_ContactItemType();
$contact->Initials = $this->relation->initials;
$contact->GivenName = $this->relation->first_name;
$contact->MiddleName = $this->relation->insertion;
$contact->Surname = $this->relation->last_name;
$request->Items->Contact[] = $contact;
$result = $ews->CreateItem($request);
私は私の偽装に存在するアカウントにこの連絡先を追加しますアカウントリスト。
$ews = new ExchangeWebServices($this->server_address, '[email protected]', 'somepassword');
これが可能である:
私が直接避けるなどの交換ユーザーでログインしたいですか?そんなことをどうやって達成するのですか?読んでくれてありがとう!
私は間違いなくそれを確認してください! –