Exemplo n.º 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);
        }
Exemplo n.º 2
0
 public VaultManagement(ServerAdminUser adminUser)
 {
     _adminUser = adminUser;
 }