Click or drag to resize
MacroSecurityProcessorRefreshSecurityParameters Method (BaseInfo, String, String, Boolean)
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: 13.0.131
Syntax
C#
public static bool RefreshSecurityParameters(
	BaseInfo info,
	string oldSalt,
	string newSalt,
	bool saveObject
)

Parameters

info
Type: CMS.DataEngineBaseInfo
Info object to process
oldSalt
Type: SystemString
Old salt used to generate old signatures (to verify integrity of old macros); if null, the integrity is not checked
newSalt
Type: SystemString
New salt which should be used to generate new signatures
saveObject
Type: SystemBoolean
If set to true, than saves the object to DB if any macro signature has been changed.

Return Value

Type: Boolean
See Also