Click or drag to resize

SecureConfigurationManagerTConfigLoadRedactedText Method (Vault, SecurityAttributeUserLevel)

Loads the configuration text so that is safe to show in MFAdmin. All password fields will be redacted. As a safety precaution, this method Throws an exception if the configuration is not valid json, and user is not a sysadmin. This is the only way to ensure non-sysadmins do not see sensitive information.

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


Type: Vault
The vault to load the configuration from.
Type: MFiles.VAF.ConfigurationSecurityAttributeUserLevel
The access level of the user requesting the configuration.

Return Value

Type: String
The redacted configuration text.
See Also