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