int Login(string sUsername, string sPassword, ref IUser user)
This method executes a user login with a given password. If the login is successful, the user holds a valid reference to the user’s object. If the login is not successful, check the return value.
int Logout(IUser user)
Logs out the user.
int CreateUser(string sUsername, string sPassword);
int DeleteUser(IUser user);
Deletes the user. The user is no longer valid after this call.
string GetErrorMsg(int errNo);
Returns a description for the error number.