Tag: SelectedGroupMemberCopy

The SelectedGroupMemberCopy function automates the action of copying members to a group in the Group Members Grid.


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

group-member-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
GroupActionA dialog will appear asking you what you want
to copy
N/AN/A
Valid valuesCopyGroups, CopyMembers, Optional - defaults
to CopyGroups
N/AN/A

Detailed Description

add-to-1-selected-groups


sapio365-copy-to-groups-or-members

To copy members to a group:

  • Select the group row(s) in the Group Owners Grid
  • Use SelectedGroupMemberCopy 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>
	<SelectedGroupMemberCopy loadDirectory="true" GroupAction="CopyMembers">
		<Select columnID="PRINCIPALNAME" value="Engineering"/>
	</SelectedGroupMemberCopy>
	<Save/>
</ytriaAutomation>
XML