0

Is there way to change user account with tasker?

user19291
  • 131
  • 4
  • 1
    Do you mean to switch "user accounts"? Which Android version are you using? – Firelord Dec 03 '18 at 11:49
  • Yes. I updated question to be more specyfic. – user19291 Dec 03 '18 at 14:44
  • It is still not clear what exactly to you want tasker to do: Do you want it to run tasks as a different user, or do you want a task which, when executed, changes the currently active user? – Flow Dec 05 '18 at 19:36

1 Answers1

2

You need root access for this answer to work.

Setup this action in a task:

Code → Run Shell → Command: am switch-user USER_ID, tick Use Root

To know the USER_ID of a user account, see my answer here.

Firelord
  • 25,084
  • 20
  • 124
  • 286