Loading...
 
Skip to main content

Architecture / Installation


Add user to group when created

Hello,

Is possible to add created user to some group during login? I am using Active Directory auth and it is working fine. Each user which is in the AD is created in the Tiki also. But I want to add user to some group. The created user is only in the group named REGISTERED. how can I add him automaticaly during login procedure to some other group?

Thanks for your help

Hello,

thanks for your answer. I am using authentication metod: TIKI and PEAR::Auth.

I dont exactly understand which function do you mean and How can I use it for my problem. I have created one group (for example TEST) and I want to add each user which login (first login, the user is in the Active Directory) to the Tiki (after correct password is the user created in the Tiki) will automaticaly added to this group TEST. If exist the solution in the 1.9 version it would be good. Hovewer 1.10 version dont solve my issue, because user can forgot to select group and than I need to add him manualy.


In tikiwiki 1.10, the next version, I added in a regular tikiwiki registration the possibility for a user to choose his group (list of groups selected for the admin)
In tikiwiki 1.9, it is possible to add groups when you do a batch upload of users

For other authentification method, I don't think it is possible yet.. What authentification method do you use?

You can try to use the assign_user_to_group or set_default_group function

sylvie

Hello,

thanks for your answer. I am using authentication metod: TIKI and PEAR::Auth.

I dont exactly understand which function do you mean and How can I use it for my problem. I have created one group (for example TEST) and I want to add each user which login (first login, the user is in the Active Directory) to the Tiki (after correct password is the user created in the Tiki) will automaticaly added to this group TEST. If exist the solution in the 1.9 version it would be good. Hovewer 1.10 version dont solve my issue, because user can forgot to select group and than I need to add him manualy.