LUA c_AddUser - How to add user to a group?
Posted: Wed Mar 03, 2010 3:22 pm
Hy there
I'm working on script which should automaticly create a new user and add this user to an existing group. I tried it with the following command:
Everthing works fine, the user is going to be created with all the options I want. Except it's not added to the group called "group_name". The position of the parameter is correct, it's the 35th...
How do I have to add this table-parameter?
Thank you for your help
MV
I'm working on script which should automaticly create a new user and add this user to an existing group. I tried it with the following command:
Code: Select all
c_AddUser('mydomain.com','username',md5('password'),63,1,1, '', '', '', '', '', '', '', '', 0, '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', {'group_name'}, '', '', '', '', '', '', '', '', '', 1,'2010-04-02 17:02:01', '', '')
How do I have to add this table-parameter?
Thank you for your help
MV