public void SetUserStartingDirectory(string sUser, string sDirectory) { UserDataItem item = GetUserItem(sUser); if (item != null) { item.StartingDirectory = sDirectory; } }
public void SetUserPassword(string sUser, string sPassword) { UserDataItem item = GetUserItem(sUser); if (item != null) { item.Password = sPassword; } }
public string GetUserStartingDirectory(string sUser) { UserDataItem item = GetUserItem(sUser); if (item != null) { return(item.StartingDirectory); } else { return("C:\\"); } }
public string GetUserPassword(string sUser) { UserDataItem item = GetUserItem(sUser); if (item != null) { return(item.Password); } else { return(""); } }
public bool HasUser(string sUser) { UserDataItem item = GetUserItem(sUser); return(item != null); }