Tag: SelectedGroupMembershipRemove

The SelectedGroupMembershipRemove function automates the action of removing the group memberships of users in the Group Delivery Management grid.


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

Group-Membership-Remove


Detailed Description

To remove the group membership of one user to another:

  • Select the group rows in the Group Delivery
    Management grid
  • Use SelectedGroupMembershipRemove 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 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="groupDisplayName" value="sg-Legal"/>
	</Select>
	<SelectedGroupMembershipRemove/>
	<Save/> 
</ytriaAutomation>
XML