AddMailboxDelegatesToSelection: Load Delegates' Mailboxes in Messages Module

Tag: AddMailboxDelegatesToSelection

AddMailboxDelegatesToSelection adds to the Messages module the mailboxes that the selected mailboxes' owners can use as 'Send As' and/or 'Send On Behalf Of' delegates.

XML
<AddMailboxDelegatesToSelection/>

Tag Attributes

Attributes

Attribute Value

Comment

LoadSendAs

TRUE / FALSE

Adds the 'Send As' mailboxes.

LoadSendOnBehalfOf

TRUE / FALSE

Adds the 'Send On Behalf Of' mailboxes.

Detailed Description

Load Mailbox Info for these users in the Users module beforehand, with SelectedUserLoadMailboxInfo.

Example Script

XML
<ytriaAutomation Application="sapio365">
	<ShowUsers>
		<Select Lines="ByValue">
			<SetParam ColumnID="userPrincipalName" Value="AnnaL@contoso.onmicrosoft.com"/>
		</Select>
		<SelectedUserLoadMailboxInfo/>
		<SelectedShowMessages NewFrame="True" CutOff="lastWeek">
			<Select Lines="All"/>
			<AddMailboxDelegatesToSelection LoadSendAs="True" LoadSendOnBehalfOf="True"/>
		</SelectedShowMessages>
	</ShowUsers>
</ytriaAutomation>