Tag: SelectedMailboxAddDelegates
The SelectedMailboxAddDelegates function automates the action of adding the selected Delegates and MailBox Permissions to the selected users.
<SelectedMailboxAddDelegates/>
Tag Attributes
|
Attributes |
Attribute Value |
Value Description |
|---|---|---|
|
KeepAlive |
TRUE / FALSE (Defaults to FALSE) |
N/A |
|
LoadDirectory |
TRUE / FALSE (Defaults to FALSE) When set to TRUE, this parameter loads the full directory |
N/A |
|
AccessRight |
FullAccess (default), ChangeOwner, ChangePermission, DeleteItem, ExternalAccount, ReadPermission |
|
|
InheritanceType |
All (default), Children, Descendents, SelfAndChildren, None |
Descendents mandatory for ExternalAccount |
|
Deny |
TRUE / FALSE (Defaults to FALSE) |
|
|
AutoMapping |
TRUE / FALSE |
Only available for FullAccess |
|
LoadUserIds |
Colon-separated user IDs |
Loads these users in the address book. |
|
LoadGroupIds |
Colon-separated group IDs |
Loads these groups in the address book. |
|
ObjectTypes |
Semicolon-separated object types |
Object types to include, as shown in "Filter by Object Type". |
Example Script
<ytriaAutomation Application="sapio365">
<List name="MailList" Action="SetVar" DISPLAYNAME="Lynne Robbins" user="GradyA@M365x250522.OnMicrosoft.com" />
<SelectedMailboxAddDelegates AccessRight="FullAccess" InheritanceType="All" Deny="TRUE" LoadDirectory="true" >
<SelectFromList ListName="MailList">
<SetParam ColumnID="DISPLAYNAME" Value="DISPLAYNAME"/>
</SelectFromList>
</SelectedMailboxAddDelegates>
</ytriaAutomation>