Fórum

Assigning user to an organization programatically

khaja moinuddin, modificado 6 Anos atrás.

Assigning user to an organization programatically

New Member Postagens: 17 Data de Entrada: 04/12/15 Postagens Recentes
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 6 Anos atrás.

RE: Assigning user to an organization programatically

Regular Member Postagens: 233 Data de Entrada: 18/08/11 Postagens Recentes
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