Session activity log and audit¶
Introduction
The APIs described below are supplied by the Session
C# class, displayed by NetLogic, which represents the session in which the instance of NetLogic at runtime exists.
Session.ChangeUser(username, password)¶
Authenticates another user in the session, with the user name and password passed as arguments.
bool ChangeUser(string username, string password);
Arguments
username
string
User name with which to authenticate the session.
password
string
User password with which to authenticate the session.
Returns
bool
false = authentication failed
true = authentication completed
Examples
var user = userTextbox.Text;
var pwd = passwordTextbox.Text;
Session.ChangeUser(user, pwd);