How to assign user to a organization while they create an account by them?

DINESH M KANDHASAMY, modified 12 Years ago. Junior Member Posts: 89 Join Date: 5/18/13 Recent Posts
Hi
I am using LR 6.1 CE using Oracle on Windows 7 OS.

I have created two organization and corresponding sites for them.

Then I have created some users and assigned organizations for them.

I am using CustomLandingPage Hook to show the corresponding organization site pages.

If a user created an account by themselves using the "Create Account" link in the Login portlet, I have observed when they log in, they are not getting organization home page or organization site, because the organization is not assigned to them.

I would like to request advice on how to make the user assigned to an organization when then create an account.

Thanks in advance,
Dinesh
thumbnail
Rahul Rabhadiya, modified 12 Years ago. Junior Member Posts: 57 Join Date: 6/14/13 Recent Posts
I think what you need to do is . first create organization and make one site into that organization .. then go to portal settings -> Users -> default User associations and then enter the default site name (Here your organization site name) in "Sites" field. Now When new user get sign up user will have default organization that you want.

Hope it is what you want..

Regards,
Rahul
DINESH M KANDHASAMY, modified 12 Years ago. Junior Member Posts: 89 Join Date: 5/18/13 Recent Posts
Hi Rahul,

Thanks for your guidance.
I have followed your mentioned steps. But when I create the new user he is not been assigned that default organization.
Do you have idea. What I have done wrong?

Regards,
Dinesh
thumbnail
Rahul Rabhadiya, modified 12 Years ago. Junior Member Posts: 57 Join Date: 6/14/13 Recent Posts
If it is not solving issue then you probably have to go for hook .. You can make hook for sign up .. where you may set organization id to new user during sign up..
DINESH M KANDHASAMY, modified 12 Years ago. Junior Member Posts: 89 Join Date: 5/18/13 Recent Posts
Hi Rahul,

Thanks for your guidance. I'll look on to it.

Please be in touch.

Cheers,
Dinesh