MacroSecurityProcessorAddSecurityParameters Method |
Adds security parameters to every macro.
Namespace: CMS.MacroEngineAssembly: CMS.MacroEngine (in CMS.MacroEngine.dll) Version: 8.2.23
Syntax public static string AddSecurityParameters(
string text,
string userName,
Hashtable signatures,
bool decodeBeforeSign = false,
string saltToUse = null
)
Parameters
- text
- Type: SystemString
Text with macros - userName
- Type: SystemString
Username to sign with - signatures
- Type: System.CollectionsHashtable
Hashtable with old signatures indexed by expression - decodeBeforeSign (Optional)
- Type: SystemBoolean
If true, expression is decoded before the security params are computed - saltToUse (Optional)
- Type: SystemString
Salt to use for hash function
Return Value
Type:
StringSee Also