Active Topics          Search          Help
            Register          Login
EMU ~ Installing, Managing, Supporting
 Omni Web Forum : Bulk User Management : EMU ~ Installing, Managing, Supporting
Subject Topic: Modify group memberships with .CSV files Post ReplyPost New Topic
Author
Message
remko
Member
Member


Joined: 28-July-2008
Posts: 1
Posted: 28-July-2008 at 6:27am

I have create a lot of users. Unfortunetly I put them in the wrong groups (membership). Now I try to change that with a csv file but I don't understand it exactly. Will someone help me?

Edited by Gordon Welling on 29-July-2008 at 9:44am
Back to Top
 
Gordon Welling
Admin Group
Admin Group

Manager Technnical Support Services

Joined: 11-December-2003
Location: Canada
Posts: 550
Posted: 28-July-2008 at 10:10am

Hello,

The best solution is to locate the users you created and then remove them from all groups.  Then you can add them to the correct groups.

STEP 1 - select the created users:
  • If all users were created in the same empty eDirectory container, you can highlight the container in the "NDS Information" pane in EMU, right-click and choose "Select All Users In Container".
  • If users were created in a container with already existing users, or users were created in multiple containers, then you can select users by using the import file.
    • From EMU Main Menu "Tools", select "Account Search Based on Data File"
    • Click the "Select" button and select the .CSV file used to create the users.
    • Select the Identifier Field from your .CSV file using the drop-down list (Note - select the field used for the login name or the disntinguished name).
    • Select the eDirectory comparison field to match the "Identifier Field" selected above.
    • Click the "Next" button and select the uppermost container in your tree to search, then click "OK".
    • Highlight the desired names you need to modify Group Membership for from the list of users in the "Report Information" pane, right-click and choose "Select in NDS View".
STEP 2 - If all users will be members of the same group, select the users and modify their group membership.
  • Select one of the highlighted users in the "NDS Information" pane and choose "Modify Account(s)".
  • Click the "Groups" tab and the "Remove" button.
  • Select the desired Groups from the "All NDS Groups in Search Containers" list that you want to remove from the Group Membership list for each user previously created.
  • Click the "Add" button.  Select the Groups from the "All NDS Groups in Search Containers" list that you want to add to the Group Membership list for each user previously created.
  • Click the "Modify" button.



Edited by Gordon Welling on 29-July-2008 at 10:24am
Back to Top
 
Gordon Welling
Admin Group
Admin Group

Manager Technnical Support Services

Joined: 11-December-2003
Location: Canada
Posts: 550
Posted: 29-July-2008 at 10:36am

Question:  What if the group memberships will differ between users?

Answer:  Create an input file that contains the group memberships for each user.  To properly list multiple groups for a single user, specify the full context NDS name for each group and seperate the multiple groups using a ';' .  See the following example:

Code:
"Group Membership","Distinguished Name","Login Name","Last Name","Given Name"
.cn=SampleGroup.ou=Users.o=Omni;.cn=SelfAdmin.ou=Users.o=Omn i,.UserA.Sample-Users.Users.Omni,UserA,Omni,UserA
.cn=SampleGroup.ou=Users.o=Omni;.cn=SelfAdmin.ou=Users.o=Omn i,.UserB.Sample-Users.Users.Omni,UserB,Omni,UserB


Then use the following steps to implement the group membership changes:

STEP 1 - select the created users:
  • If all users were created in the same empty eDirectory container, you can highlight the container in the "NDS Information" pane in EMU, right-click and choose "Select All Users In Container".
  • If users were created in a container with already existing users, or users were created in multiple containers, then you can select users by using the import file.
    • From EMU Main Menu "Tools", select "Account Search Based on Data File"
    • Click the "Select" button and select the .CSV file used to create the users.
    • Select the Identifier Field from your .CSV file using the drop-down list (Note - select the field used for the login name or the disntinguished name).
    • Select the eDirectory comparison field to match the "Identifier Field" selected above.
    • Click the "Next" button and select the uppermost container in your tree to search, then click "OK".
    • Highlight the desired names you need to modify Group Membership for from the list of users in the "Report Information" pane, right-click and choose "Select in NDS View".
STEP 2 - If users will be members of different group, select the users and remove their existing group membership.
  • Select one of the highlighted users in the "NDS Information" pane and choose "Modify Account(s)".
  • Click the "Groups" tab and the "Remove" button.
  • Select the desired Groups from the "All NDS Groups in Search Containers" list that you want to remove from the Group Membership list for each user previously created.
  • Click the "Modify" button.
STEP 3 - Select the users and add unique group membership.
  • Select one of the highlighted users in the "NDS Information" pane and choose "Modify Account(s) from File".
  • Select the multi group input .CSV file created above and click the "Open" button.
  • Under the "Setup Information" tab, set the "Select Account Identifier Field:" to "Distinguished Name" or "Login Name" (the column from the input file that can be used to uniquely identify each user.
  • Click the "Highlighted Accounts" button and ensure that all accounts in the "Account Information" list show a green circle.
  • Under the "NDS" tab, check "Add User to Groups based on Import field" and select the group membership column name from the drop-down list.
  • Click the "Modify" button.





Edited by Gordon Welling on 29-July-2008 at 10:36am
Back to Top
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.2500 seconds.