要件については完全にはわかりませんが、次のスニペットは任意または必須の出席者の完全な詳細を返しますが、それらがシステム ユーザー レコードである場合のみです。関係者に他のレコード タイプが含まれている場合、結果は返されません...
<entity name='appointment'>
<attribute name='subject'/>
<attribute name='actualend'/>
<attribute name='actualstart'/>
<filter type='and'>
<condition attribute='activityid' operator='eq' value='MyActivityGuid'/>
</filter>
<link-entity name='activityparty' from='activityid' to='activityid'>
<attribute name='partyidname'/>
<attribute name='participationtypemask'/>
<attribute name='activityid'/>
<attribute name='activitypartyid'/>
<attribute name='addressused'/>
<attribute name='participationtypemaskname'/>
<attribute name='partyid'/>
<attribute name='partyiddsc'/>
<attribute name='partyobjecttypecode'/>
<attribute name='resourcespecid'/>
<attribute name='resourcespeciddsc'/>
<attribute name='resourcespecidname'/>
<attribute name='scheduledend'/>
<attribute name='scheduledstart'/>
<filter type='and'/>
<filter type='or'>
<condition attribute='participationtypemaskname' operator='eq' value='Optional attendee'/>
<condition attribute='participationtypemaskname' operator='eq' value='Required attendee'/>
</filter>
<link-entity name='systemuser' from='systemuserid' to='partyid'>
<attribute name='fullname'/>
</link-entity>
</link-entity>
</entity>
それ以外の場合は、最後のlink-entityノード全体を省略すると、電子メール アドレスを含む属性systemuserが表示されます。addressusedすなわち:
<entity name='appointment'>
<attribute name='subject'/>
<attribute name='actualend'/>
<attribute name='actualstart'/>
<filter type='and'>
<condition attribute='activityid' operator='eq' value='MyActivityGuid'/>
</filter>
<link-entity name='activityparty' from='activityid' to='activityid'>
<attribute name='partyidname'/>
<attribute name='participationtypemask'/>
<attribute name='activityid'/>
<attribute name='activitypartyid'/>
<attribute name='addressused'/>
<attribute name='participationtypemaskname'/>
<attribute name='partyid'/>
<attribute name='partyiddsc'/>
<attribute name='partyobjecttypecode'/>
<attribute name='resourcespecid'/>
<attribute name='resourcespeciddsc'/>
<attribute name='resourcespecidname'/>
<attribute name='scheduledend'/>
<attribute name='scheduledstart'/>
<filter type='and'/>
<filter type='or'>
<condition attribute='participationtypemaskname' operator='eq' value='Optional attendee'/>
<condition attribute='participationtypemaskname' operator='eq' value='Required attendee'/>
</filter>
</link-entity>
</entity>
これは役に立ちますか?