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.MacroEngineAssembly: CMS.MacroEngine (in CMS.MacroEngine.dll) Version: 10.0.0
Syntax 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:
BooleanSee Also