Foros de discusión

Assigning user to an organization programatically

khaja moinuddin, modificado hace 6 años.

Assigning user to an organization programatically

New Member Mensajes: 17 Fecha de incorporación: 4/12/15 Mensajes recientes
Hi all,
Can anyone help me out for this issue ,
My issue is while creating an organization i want to assign a user with ORGANIZATION_ADMINISTRATOR role and assign that organization a site template which will be common for all the Organization ,
Your Help will be appreciated

Thanks
thumbnail
Raja Seth, modificado hace 6 años.

RE: Assigning user to an organization programatically

Regular Member Mensajes: 233 Fecha de incorporación: 18/08/11 Mensajes recientes
Hi Khaja,

First of all this is not an issue, this is your functionality which you require to achieve.

- First of all you need to create a site template from control panel.
- Then you should create an organization site and apply that site template programmatically.
- Once you have done with that, you need to add that particular user as a member of that org and assign him ORGANIZATION_ADMINISTRATOR role.

Regards,
Raja