Tag: SelectedGroupMemberMove
The SelectedGroupMemberMove function automates the action of moving members to another group in the Group Members Grid.
<SelectedGroupMemberMove LoadDirectory="true">
<Select Lines="ByValue">
<SetParam ColumnID="DISPLAYNAME" Value="..."/>
</Select>
</SelectedGroupMemberMove>
This also works in On-Premises Group Memberships module
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. |
|
GroupAction |
If a mixed selection of users and groups is made, a dialog box will appear asking you what to copy. |
|
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
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
<ytriaAutomation Application="sapio365">
<Select Lines="ByValue">
<SetParam ColumnID="userDisplayName" Value="Seung-In Jang"/>
</Select>
<SelectedGroupMemberMove LoadDirectory="true">
<Select Lines="ByValue">
<SetParam ColumnID="DISPLAYNAME" Value="Innovation Corner"/>
</Select>
</SelectedGroupMemberMove>
<Save/>
</ytriaAutomation>