public final class SwitchUser extends Object
Note that this class is NOT THREAD SAFE.
Constructor and Description |
---|
SwitchUser(COM.FutureTense.Interfaces.ICS ics) |
Modifier and Type | Method and Description |
---|---|
void |
switchBack()
Switch back to the previous user.
|
boolean |
switchTo(String username,
String password)
Switch from the current user to a new user, (if username and password are
correct).
|
public boolean switchTo(String username, String password)
username
- new userid. Null is not allowedpassword
- new password. Null is not allowed.public void switchBack()
Copyright © 2016–2017. All rights reserved.