1
私はEWS Managed API
と仕事をして会議室リストを取得しようとしています.と各室で1週間の予約リストを見ることができます。C#exchange server会議室の予約リストを取得
私は最初のリンクをテストしてきたと私は0部屋を取得Get room lists by using EWS in Exchange そしてGet appointments and meetings by using EWS in Exchange
を見ました。
また、2番目のリンクでは、現在のユーザーのカレンダーは表示されましたが、会議は行われませんでした。
1)自分の組織内の会議室のリストを取得します:
は、私は3つの事を必要としています。2)各部屋のミーティングカレンダーを取得します(X日間)。
3)会議ごとに、誰が会議を構成しますか。
この情報を取得するためのAPIが見つかりません。 )
string filter = "(&(objectClass=*)(msExchRecipientDisplayType=7))";
//Assembly System.DirectoryServices.dll
DirectorySearcher search = new DirectorySearcher(filter);
List<AttendeeInfo> rooms = new List<AttendeeInfo>();
foreach (SearchResult result in search.FindAll())
{
ResultPropertyCollection r = result.Properties;
DirectoryEntry entry = result.GetDirectoryEntry();
// entry.Properties["displayName"].Value.ToString() will bring the room name
rooms.Add(new AttendeeInfo(entry.Properties["mail"].Value.ToString().Trim()));
}
2: