MacroSecurityProcessorAddMacroSecurityParams Method (String, String, String, Boolean) |
Adds |(hash) and |(user) security parameters to given expression.
Namespace: CMS.MacroEngineAssembly: CMS.MacroEngine (in CMS.MacroEngine.dll) Version: 8.2.23
Syntax public static string AddMacroSecurityParams(
string expression,
string userName,
string saltToUse,
bool decode = false
)
Parameters
- expression
- Type: SystemString
Macro expression to add the parameters to - userName
- Type: SystemString
Name of the user - saltToUse
- Type: SystemString
Salt to use for hash function - decode (Optional)
- Type: SystemBoolean
If true, decodes expression before computing signature
Return Value
Type:
StringSee Also