Click or drag to resize
MacroSecurityProcessorRefreshSecurityParameters Method (DataSet, String, String)
Recreates all the macros signatures according to new specified salt in all string columns of each row of the given DataSet (modifies the DataSet). 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.2.23
Syntax
C#
public static void RefreshSecurityParameters(
	DataSet ds,
	string oldSalt,
	string newSalt
)

Parameters

ds
Type: System.DataDataSet
DataSet containing macros
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
See Also