ALFA.SystemInfo.GetServerVaultPathForAccount C# (CSharp) Method

GetServerVaultPathForAccount() public static method

Get the local server vault path for an account, given an account name. Note that the server must be using the server vault plugin for this function to work.
public static GetServerVaultPathForAccount ( string AccountName ) : string
AccountName string
return string
        public static string GetServerVaultPathForAccount(string AccountName)
        {
            string VaultPath = GetNWNX4IniString(
                "AuroraServerVault.ini",
                "Settings",
                "LocalServerVaultPath",
                "");

            if (String.IsNullOrEmpty(VaultPath))
                return null;

            return String.Format("{0}{1}{2}{3}", VaultPath, Path.DirectorySeparatorChar, AccountName, Path.DirectorySeparatorChar);
        }