MacroSecurityProcessor AddSecurityParameters Method Kentico 8.0 API Reference
Adds security parameters to every macro.

Namespace: CMS.MacroEngine
Assembly: CMS.MacroEngine (in CMS.MacroEngine.dll) Version: 8.0.0.0 (8.0.5239.26125)

Parameters

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

Return Value

Type: OnlineString
See Also