Help needed on simple command line utility (dsadd)

mobri09mobri09 Users Awaiting Email Confirmation Posts: 723
Ok, This command line works below and succeededs at the command prompt for me but, my question is how can i add another user in the Retail group besides jack dimm at the same time?. Thank you

D:\>dsadd group "cn=retail group,cn=users,dc=retail,dc=rt,dc=net"
-secgrp yes -scope g -members "cn=jack dimm,ou=ADMIN,dc=retail,dc=rt,dc=net" -desc "Retail only"

Comments

  • WebmasterWebmaster Admin Posts: 10,292 Admin
    I think this should work:

    D:\>dsadd group "cn=retail group,cn=users,dc=retail,dc=rt,dc=net"
    -secgrp yes -scope g -members "cn=jack dimm,ou=ADMIN,dc=retail,dc=rt,dc=net" "cn=mike domm,ou=ADMIN,dc=retail,dc=rt,dc=net" "cn=nick damm,ou=ADMIN,dc=retail,dc=rt,dc=net" "cn=vicky dumm,ou=ADMIN,dc=retail,dc=rt,dc=net" -desc "Retail only"

    "cn=jack dimm,ou=ADMIN,dc=retail,dc=rt,dc=net" is the value of -members
    You can specify multiple values for -members (and -memberof as well) by separating them with spaces.

    I hope this helps!
  • mobri09mobri09 Users Awaiting Email Confirmation Posts: 723
    Just figured it out Webmaster...I forgot to put the "S" on - members to add more user..thanks for your time like always! :D
Sign In or Register to comment.