switchUser

abstract fun switchUser(user: User)

Switch current user.

Parameters

user

the user that should be the new current user. The user must be one of the users that are already logged in.

Throws

If the user is not logged in.