Click or drag to resize

SecureConfigurationManagerTConfigSaveRedactedText Method (Vault, SecurityAttributeUserLevel, String)

Saves a configuration text, ensuring that: 1. It is valid json (parseable). 2. No settings were modified that should be restricted for the current user. 3. Any passwords that were redacted when provided to the user, are restored first. If previous version cannot be parsed, no passwords would have been redacted, so this check isn't done, However, we would not have provided the unparseable text to vaultAdmins, so we don't allow them to save in this situation either.

Namespace:  MFiles.VAF.Configuration
Assembly:  MFiles.VAF.Configuration (in MFiles.VAF.Configuration.dll) Version: 21.8.10524.1
public virtual TConfig SaveRedactedText(
	Vault vault,
	SecurityAttributeUserLevel userLevel,
	string configuration


Type: Vault
The vault to save the configuration to.
Type: MFiles.VAF.ConfigurationSecurityAttributeUserLevel
The access level of the user saving the configuration.
Type: SystemString
The configuration text to save.

Return Value

Type: TConfig
The saved configuration.
See Also