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: 2.1.0.1 (2.1.0.1)
Syntax
C#
public string LoadRedactedText(
	Vault vault,
	SecurityAttributeUserLevel userLevel
)

Parameters

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

Return Value

Type: String
The redacted configuration text.
See Also