public static ServerAdminUser GetAdminUser() { var user = new ServerAdminUser(); user.ServerIp = ConfigurationManager.AppSettings["MFilesServer"]; user.Name = ConfigurationManager.AppSettings["UserName"]; user.Pwd = ConfigurationManager.AppSettings["UserPwd"]; user.AccountType = (MFLoginAccountType)Enum.Parse(typeof(MFLoginAccountType), ConfigurationManager.AppSettings["AccountType"]); return(user); }
public VaultManagement(ServerAdminUser adminUser) { _adminUser = adminUser; }