Tag: SelectedGroupMembershipCopy

The SelectedGroupMembershipCopy function automates the action of copying the group memberships of selected users to other users in the Group Delivery Management grid.


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

Group-Membership-Copy


Tag Attributes

AttributesAttribute ValueValue DescriptionComment
KeepAliveTRUE/FALSE - defaults to FALSEN/AN/A
LoadDirectoryTRUE / 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 copy the group membership of one user to another:

  • Select the group rows in the Group Delivery
    Management grid
  • Use SelectedGroupMembershipCopy 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"/
		<SetParam columnID="groupDisplayName" value="sg-Legal"/>
	</Select>
	<SelectedGroupMembershipCopy loadDirectory="true">
		<Select columnID="DISPLAYNAME" value="Basim Karzai"/>
	</SelectedGroupMembershipCopy>
	<Save/> 
</ytriaAutomation>
XML