Skip to main content
Skip table of contents

Group Owners: Add Owners

Tag: SelectedGroupOwnerAdd

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


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


This works in both Group Members and Group Owners modules.


This doesn't work in On-Premises Group Members module. Use SelectedGroupOwnerSet instead.


Group-Owner-Add

Tag Attributes

AttributesAttribute Value
KeepAlive   TRUE / FALSE - Defaults to FALSE
LoadDirectory

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


Detailed Description   

add-to-1-selected-groups
      


To add owners:

  • Select the group row(s) in the Group Owners grid
  • Use SelectedGroupOwnerAdd with a selection of target user(s) in the grid in the dialog


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


To select, you can use any of the default grid selection methods:

  • Select Rows in Grid
  • Select Rows From List
  • Select rows - inversion
  • Select / Filter from file

Example Script

XML
<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>
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.