Sets a new active session user.
public static function UnbSession::SetSessionUser ($sessionUser, $password = null, $overridePassword = false);
(string) Plain login password to validate.
(bool) Do not validate the provided password. This is meant to be used for setup and maintenance only! It may also be used carefully when logging in a newly created user. When currently logged in as administrator and providing no or an empty password, the new user's password is not validated either.
BadMethodCallException | If session not enabled. |
InvalidArgumentException | On invalid argument type or value. |
UnbSecurityException | On missing or rejected login password. |
Member of class: UnbSession
Implementation file: session.class.php, line 427
© 2011 Yves Goergen. UNB Components Homepage. Reference generated on 2011-02-22.