Tag: SelectedEditCalendarPermission
SelectedEditCalendarPermission changes the role or the individual permission of the selected permissions in the Calendar Permissions module. It opens the Edit dialog; set the new access with attributes or SetParam children.
<SelectedEditCalendarPermission/>
Tag Attributes
|
Attributes |
Attribute Value |
Comment |
|---|---|---|
|
KeepAlive |
TRUE / FALSE |
Controls whether the window stays open. |
|
Permissions |
None / CreateItems / CreateSubfolders / DeleteAllItems / DeleteOwnedItems / EditAllItems / EditOwnedItems / FolderContact / FolderOwner / FolderVisible / ReadItems |
New individual permissions, instead of a Role. Separate several permissions with semicolons. |
|
Role |
Author / Contributor / Editor / NonEditingAuthor / Owner / PublishingAuthor / PublishingEditor / Reviewer / AvailabilityOnly / LimitedDetails |
New role. Use Role or Permissions, not both. |
|
SendNotificationToUser |
TRUE / FALSE |
TRUE sends the delegates a calendar sharing invitation. Only with the AvailabilityOnly, LimitedDetails, Reviewer or Editor role; ignored with a warning otherwise. |
|
SharingPermissionFlags |
None / Delegate / Delegate, CanViewPrivateItems |
Delegate makes the users calendar delegates, who receive meeting invites and responses. Delegate, CanViewPrivateItems also lets them see private items. None removes the flags. Only with the Editor role. |
Detailed Description
Each attribute can also be set with a SetParam child whose Field is the attribute name, for example <SetParam Field="Role" Value="Editor"/>. Repeat the Permissions SetParam to set several permissions.
Role and Permissions can’t be combined. Set at least one of Role, Permissions or SharingPermissionFlags.
SharingPermissionFlags and SendNotificationToUser don’t apply to the ‘Default’ and ‘Anonymous’ permissions.
The change is made in the grid. Use Save or SaveSelected to send it.
Example Script
Make a user an Editor of your calendar:
<ytriaAutomation Application="sapio365">
<ShowMyDataCalendarPermissions>
<Select Lines="ByValue">
<SetParam ColumnID="user.username" Value="RosaL@contoso.onmicrosoft.com"/>
</Select>
<SelectedEditCalendarPermission>
<SetParam Field="Role" Value="Editor"/>
</SelectedEditCalendarPermission>
<Save/>
</ShowMyDataCalendarPermissions>
</ytriaAutomation>
Give a user individual permissions instead:
<ytriaAutomation Application="sapio365">
<ShowMyDataCalendarPermissions>
<Select Lines="ByValue">
<SetParam ColumnID="user.username" Value="RosaL@contoso.onmicrosoft.com"/>
</Select>
<SelectedEditCalendarPermission Permissions="ReadItems;CreateItems;FolderVisible"/>
<Save/>
</ShowMyDataCalendarPermissions>
</ytriaAutomation>