MacroSecurityProcessor RefreshSecurityParameters Method (BaseInfo, String, String, Boolean)Kentico 8.0 API Reference
Loops through all text columns of given info and 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.0.5239.26125)

Parameters

info
Type: CMS.DataEngine BaseInfo
Info object to process
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
saveObject
Type: OnlineSystem Boolean
If set to true, than saves the object to DB if any macro signature has been changed.

Return Value

Type: OnlineBoolean
See Also