Tag: SelectedGroupOwnerAdd

The SelectedGroupOwnerAdd function automates the action of adding owners to selected groups in the Group Owners grid.


<Select columnID=""'<column ID>"" value=""<value in column>"" />
XML


Group-Owner-Add

Tag Attributes

AttributesAttribute ValueValue DescriptionComment
KeepAlive   TRUE/FALSE - defaults to FALSEN/AN/A
LoadDirectory

TRUE / FALSE - defaults to FALSE / When set to  TRUE, this parameter loads the full directory as
if you'd clicked the dialog button.

N/AN/A


Detailed Description   

add-to-1-selected-groups
      

To add owners to groups:

  • select the group row(s) in the Group Delivery
    Management grid
  • use SelectedGroupOwnerAdd with a selection
    of target user(s) in the grid, in the dialog, formatted as:
    <Select columnID="'<column ID>" value="<value in
    column>" />
  • (<column ID> is the ID of the column
    you want to make the selection)


add-to-1-selected-groups-column-settings


Add as many <Select columnID="'<column ID>" value="<value in column>" /> as you'd like to make the desired selection

Example Script

<ytriaAutomation Application="sapio365">
	<Select lines="ByValue">
		<SetParam columnID="displayName" value="Innovation Corner"/>
	</Select>
	<SelectedGroupOwnerAdd loadDirectory="true">
		<Select columnID="PRINCIPALNAME" value="MarieS@M365x823975.onmicrosoft.com"/>
	</SelectedGroupOwnerAdd>
	<Save/>
</ytriaAutomation>
XML