Click or drag to resize
MacroSecurityProcessorRefreshSecurityParameters Method (BaseInfo, String, Boolean, String)
Loops through all text columns of given info and signs ALL macros (even already signed) with specififed user.

Namespace: CMS.MacroEngine
Assembly: CMS.MacroEngine (in CMS.MacroEngine.dll) Version: 9.0.0
Syntax
C#
public static bool RefreshSecurityParameters(
	BaseInfo info,
	string userName,
	bool saveObject,
	string saltToUse = null
)

Parameters

info
Type: CMS.DataEngineBaseInfo
Info object to process
userName
Type: SystemString
Name of the user to sign the macro
saveObject
Type: SystemBoolean
If set to true, than saves the object to DB if any macro signature has been changed.
saltToUse (Optional)
Type: SystemString
Salt to use for hash function

Return Value

Type: Boolean
See Also