SelectedGroupMembershipTransfer: Transfer Membership

Tag: SelectedGroupMembershipTransfer

SelectedGroupMembershipTransfer automates the action of transferring the group membership of one user to another user in the Group Memberships grid.


XML
<SelectedGroupMembershipTransfer LoadDirectory="true">
	<Select Lines="ByValue">
		<SetParam ColumnID="DISPLAYNAME" Value="..."/>
	</Select>
</SelectedGroupMembershipTransfer>


This also works in On-Premises Group Memberships module

Group-Membership-Transfer


Tag Attributes

Attributes

Attribute Value

KeepAlive

TRUE / 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.

LoadUserIds

Colon-separated user IDs

Loads these users in the address book.

LoadGroupIds

Colon-separated group IDs

Loads these groups in the address book.

LoadServicePrincipalIds

Colon-separated service principal IDs

Loads these service principals in the address book.

ObjectTypes

Semicolon-separated object types

Object types to include, as shown in "Filter by Object Type".

Detailed Description

add-to-1-selected-groups

To transfer group membership of a user to other users:

  • Select the user row(s) in the Group Memberships grid

  • Use SelectedGroupMembershipTransfer with a selection of target user(s) in the grid in the dialog


add-to-1-selected-groups-column-settings


To select, you can use any of the default grid selection methods:

  • Select Rows in Grid

  • Select Rows From List

  • Select rows - inversion

  • Select / Filter from file

Example Script

XML
<ytriaAutomation Application="sapio365">
	<Select Lines="ByValue">
		<SetParam ColumnID="displayName" Value="Christoph Werner" And="true"/>
		<SetParam ColumnID="groupDisplayName" Value="sg-Executive"/>
	</Select>
	<SelectedGroupMembershipTransfer LoadDirectory="true">
		<Select Lines="ByValue">
			<SetParam ColumnID="DISPLAYNAME" Value="Claudia Pugliesi"/>
		</Select>
	</SelectedGroupMembershipTransfer>
	<Save/>
</ytriaAutomation>