public void SetUserPassword(string user, string password) { UserDataItem item = GetUserItem(user); if (item != null) { item.Password = password; } }
public void SetUserStartingDirectory(string user, string directory) { UserDataItem item = GetUserItem(user); if (item != null) { item.StartingDirectory = directory; } }
public string GetUserStartingDirectory(string user) { UserDataItem item = GetUserItem(user); if (item != null) { return item.StartingDirectory; } return "C:\\"; }
public string GetUserPassword(string user) { UserDataItem item = GetUserItem(user); if (item != null) { return item.Password; } return string.Empty; }
public string GetUserStartingDirectory(string user) { UserDataItem item = this.GetUserItem(user); if (item != null) { return(item.StartingDirectory); } return("C:\\"); }
public string GetUserPassword(string user) { UserDataItem item = this.GetUserItem(user); if (item != null) { return(item.Password); } return(string.Empty); }
public bool HasUser(string user) { UserDataItem item = GetUserItem(user); return(item != null); }