Tag: SelectedGroupMemberCopy
The SelectedGroupMemberCopy function automates the action of copying members to a group in the Group Members Grid.
<SelectedGroupMemberCopy LoadDirectory="true">
<Select Lines="ByValue">
<SetParam ColumnID="DISPLAYNAME" Value="..."/>
</Select>
</SelectedGroupMemberCopy>
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 |
A dialog will appear asking you what you want to copy |
|
Valid values |
CopyGroups, CopyMembers, Optional - Defaults to CopyGroups |
|
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 copy members to a group:
-
Select the target group row(s) in the Group Members grid
-
Use SelectedGroupMemberCopy with a selection of user(s) in the grid in the dialog
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="displayName" Value="Innovation Corner"/>
</Select>
<SelectedGroupMemberCopy LoadDirectory="true" GroupAction="CopyMembers">
<Select Lines="ByValue">
<SetParam ColumnID="DISPLAYNAME" Value="Engineering"/>
</Select>
</SelectedGroupMemberCopy>
<Save/>
</ytriaAutomation>