Beispiel #1
0
        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);
        }
Beispiel #2
0
 public VaultManagement(ServerAdminUser adminUser)
 {
     _adminUser = adminUser;
 }