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

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

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