Add Delegates and Permissions
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 |
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>