Click or drag to resize
MacroSecurityProcessorAddMacroSecurityParams Method
Adds |(hash) and |(user) security parameters to given expression.

Namespace: CMS.MacroEngine
Assembly: CMS.MacroEngine (in CMS.MacroEngine.dll) Version: 12.0.0
Syntax
C#
public static string AddMacroSecurityParams(
	string expression,
	MacroIdentityOption identityOption,
	string saltToUse = null,
	bool decode = false
)

Parameters

expression
Type: SystemString
Macro expression to add the parameters to
identityOption
Type: CMS.MacroEngineMacroIdentityOption
Identity option to sign with
saltToUse (Optional)
Type: SystemString
Salt to use for hash function
decode (Optional)
Type: SystemBoolean
If true, decodes expression before computing signature

Return Value

Type: String
See Also