Switch Tenant by API/Client Side

Posted by refael shira on 06-Nov-2016 01:57

Hello,

I Have a Administrator users who belongs to many tenant and I want to swich tenant in my cliend side application.

Is it possible?  

Regards,

Refael

All Replies

Posted by Chandrasekhar Gontla on 06-Nov-2016 05:55

Hi Refael Shira,

If any user is part of multiple tenants then he will be having option to switch tenant.

The option will be available at top-right corner of a page.

Thanks and Regards,

Chandu.

Posted by refael shira on 06-Nov-2016 06:06

Hi Chandrasekh,

This option possible only in rollbase.

I want to switch tenant through the my app (not rollbase).

Regards,

Refael

Posted by stayal on 07-Nov-2016 02:47

Hi refael shira,

There is no such API to switch tenants in rollbase. By switching tenant user is just going to login into the tenant. So you can use the login API to switch the tenant in your Client app.

Regards,

stayal

Posted by refael shira on 07-Nov-2016 12:29

Hi,

Thanks on your response.

Can you explain it to me more, or maybe share code or something like that?

Regards,

Refael

Posted by refael shira on 07-Nov-2016 12:29

Hi,

Thanks on your response.

Can you explain it to me more, or maybe share code or something like that?

Regards,

Refael.

This thread is closed