Click or drag to resize
MacroSecurityProcessorAddSecurityParameters Method
Adds security parameters to every macro.

Namespace: CMS.MacroEngine
Assembly: CMS.MacroEngine (in CMS.MacroEngine.dll) Version: 9.0.0
Syntax
C#
public static string AddSecurityParameters(
	string text,
	string userName,
	Hashtable signatures,
	bool decodeBeforeSign = false,
	string saltToUse = null
)

Parameters

text
Type: SystemString
Text with macros
userName
Type: SystemString
Username to sign with
signatures
Type: System.CollectionsHashtable
Hashtable with old signatures indexed by expression
decodeBeforeSign (Optional)
Type: SystemBoolean
If true, expression is decoded before the security params are computed
saltToUse (Optional)
Type: SystemString
Salt to use for hash function

Return Value

Type: String
See Also