MacroSecurityProcessorAddSecurityParameters Method |
Adds security parameters to every macro.
Namespace: CMS.MacroEngineAssembly: CMS.MacroEngine (in CMS.MacroEngine.dll) Version: 13.0.131
Syntax public static string AddSecurityParameters(
string text,
MacroIdentityOption identityOption,
IDictionary<string, MacroIdentityOption> signatures,
string saltToUse = null,
IMacroProcessingColumnAdapter columnAdapter = null
)
Parameters
- text
- Type: SystemString
Text with macros - identityOption
- Type: CMS.MacroEngineMacroIdentityOption
Identity option to sign with - signatures
- Type: System.Collections.GenericIDictionaryString, MacroIdentityOption
Dictionary with old identity options indexed by expression - saltToUse (Optional)
- Type: SystemString
Salt to use for hash function - columnAdapter (Optional)
- Type: CMS.DataEngineIMacroProcessingColumnAdapter
Column adapter to use.
Return Value
Type:
StringSee Also