android switch user programmatically

1.1k Views Asked by At

I'm trying to create an app that runs the switch-user command. is there any API for switch-user command ?

is it possible to switch users from android application (assuming I've multiple users set)?

1

There are 1 best solutions below

0
On BEST ANSWER

For switching user there is no direct api, U have manually maintain the session of each user. The session implementation logic upto u.