Tag: SelectedGroupMembershipAdd
The SelectedGroupMembershipAdd automates the action of adding selected users to a group in the Group Delivery Management grid.
<Select columnID=""'<column ID>"" value=""<value in column>"" />
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. |
Detailed Description
To add users to groups:
-
Select the group rows in the Group Delivery Management grid
-
Use SelectedGroupMembershipAdd 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="Alex Wilber" and="true"/>
<SetParam columnID="OBJECTTYPE" value="User"/>
</Select>
<SelectedGroupMembershipAdd LoadDirectory="true">
<Select columnID="PRINCIPALNAME" value="Leadership Connection"/>
</SelectedGroupMembershipAdd>
<Save/>
</ytriaAutomation>