5 Replies Latest reply on Apr 21, 2015 9:09 AM by Toby Erkson

    How can we add users to groups from a csv file

    Prasanth Gopinath

      We would like to create a script that would automate the import of users into groups. We have a csv file that has the list of users and the groups they need to be assigned to. How can we used tabcmd to achieve this? The tabcmd example I have seen has the group name hardcoded in the script. We would like to know if there is a way to read the csv file and assign the users to the groups specified in the file without hardcoding the group name in the script.

       

      The CSV file looks some thing like this:

       

      USER1,GROUP1

      USER1,GROUP2

      USER2,GROUP3

      USER2,GROUP1

       

      Thank you,

      Prasanth

       

      Message was edited by: Toby Erkson Font size increased to make message easier to read. Gave it the category of "Monitoring and Management".