Tag: SelectedGroupMembershipAdd

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


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

Group-Membership-Add


Tag Attributes

AttributesAttribute ValueValue DescriptionComment
KeepAliveTRUE/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 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

<ytriaAutomation Application="sapio365">
	<Select lines="ByValue">
		<SetParam columnID="displayName" value="Anal Angel" and="true"/><!-- WTF is that user name? -->
		<SetParam columnID="OBJECTTYPE" value="User"/>
	</Select>
	<SelectedGroupMembershipAdd LoadDirectory="true">
		<Select columnID="PRINCIPALNAME" value="Leadership Connection"/>
	</SelectedGroupMembershipAdd>
	<Save/> 
</ytriaAutomation>
XML