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)?
For switching user there is no direct api, U have manually maintain the session of each user. The session implementation logic upto u.