Group Owners: Remove Owners

Tag: SelectedGroupOwnerRemove

The SelectedGroupOwnerRemove function automates the action of removing owners from selected groups in the Group Owners grid.


XML
<SelectedGroupOwnerRemove/>


Detailed Description

Group-Owner-Remove

To remove owners from groups:

  • Select the owner row(s) to remove in the Group Owners grid, for instance with <Select Lines="ByValue"> (see the example below)

  • Use SelectedGroupOwnerRemove: it removes the selected owners. No dialog opens, so the action takes no selection of its own.

Example Script

XML
<ytriaAutomation Application="sapio365">
	<Select Lines="ByValue">
		<SetParam ColumnID="userDisplayName" Value="Megan Bowen" And="true"/>
		<SetParam ColumnID="displayName" Value="Innovation Corner"/>
	</Select>
	<SelectedGroupOwnerRemove/>
	<Save/>
</ytriaAutomation>