MacroSecurityProcessorRemoveSecurityParameters Method (String, Boolean, IDictionaryString, MacroIdentityOption, Boolean) |
Removes security parameters from all macros.
Namespace: CMS.MacroEngineAssembly: CMS.MacroEngine (in CMS.MacroEngine.dll) Version: 13.0.131
Syntax public static string RemoveSecurityParameters(
string text,
bool replaceWithHash,
IDictionary<string, MacroIdentityOption> signatures,
bool clearSignatures
)
Parameters
- text
- Type: SystemString
Text with macros - replaceWithHash
- Type: SystemBoolean
If true, macros which contained security information will be returned with hash at the end - signatures
- Type: System.Collections.GenericIDictionaryString, MacroIdentityOption
Dictionary of identity options indexed by expression to be built while removing security parameters - clearSignatures
- Type: SystemBoolean
If true, signatures dictionary is cleared before text processing
Return Value
Type:
StringSee Also