Session.ChangeUser(username, password)
Authenticates another user in the session, with the user name and password passed in arguments.
bool ChangeUser(stringusername, stringpassword);
Arguments
- username(string)
- A user name that you want to authenticate the session with.
- password(string)
- A user password that you want to authenticate the session with.
Returns
- bool
- false
- The authentication failed.
- true
- The authentication completed.
Examples
var user = userTextbox.Text; var pwd = passwordTextbox.Text; Session.ChangeUser(user, pwd);
Provide Feedback