MacroSecurityProcessor RefreshSecurityParameters Method (String, String, String, Boolean)Kentico 8.1 API Reference
Recreates all the macros signatures according to new specified salt. Keeps the owners of the macros untouched (verifies the integrity against old salt).

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 containing macros
oldSalt
Type: OnlineSystem String
Old salt used to generate old signatures (to verify integrity of old macros); if null, the integrity is not checked
newSalt
Type: OnlineSystem String
New salt which should be used to generate new signatures
decodeBeforeSign (Optional)
Type: OnlineSystem Boolean
If true, expression is decoded before the security params are computed

Return Value

Type: OnlineString
See Also