How to move user from one group to another by xml script?
Usually movement can be done by drag and drop, but sometimes groups are located too far away so it's better to use xml script for this.
1. Verify configuration is set appropriately for groups
2. Prepare xml file to import. Below is the example, update it with your values:
<command>
<move>
<object>
<collection key="root">
<reference name="User Group">
<childReference name="fred"/>
</reference>
</collection>
</object>
<location relation="end">
<collection key="root">
<reference name="Second User Group">
<targetCollection/>
</reference>
</collection>
</location>
</move>
</command>
3. Login as Administrator, right-click on the root collection (Everyone) and import the xml file, do refresh All ( F5).
Comments
0 comments
Article is closed for comments.