Skip to main content
Skip table of contents

SelectedGroupMembershipAdd: Add to Group

Tag: SelectedGroupMembershipAdd

The SelectedGroupMembershipAdd automates the action of adding selected users to a group in the Group Delivery Management grid.


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

Group-Membership-Add


Tag Attributes

AttributesAttribute Value
KeepAliveTRUE / 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 users to groups:

  • Select the group rows in the Group Delivery Management grid
  • Use SelectedGroupMembershipAdd with a selection of target users 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>" /> to make the desired selection

Example Script

XML
<ytriaAutomation Application="sapio365">
	<Select lines="ByValue">
		<SetParam columnID="displayName" value="Alex Wilber" and="true"/>
		<SetParam columnID="OBJECTTYPE" value="User"/>
	</Select>
	<SelectedGroupMembershipAdd LoadDirectory="true">
		<Select columnID="PRINCIPALNAME" value="Leadership Connection"/>
	</SelectedGroupMembershipAdd>
	<Save/> 
</ytriaAutomation>
JavaScript errors detected

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

If this problem persists, please contact our support.