Click or drag to resize
MacroSecurityProcessorCheckSecurity Method
Checks the security of the accessed object.

Namespace: CMS.MacroEngine
Assembly: CMS.MacroEngine (in CMS.MacroEngine.dll) Version: 12.0.0
Syntax
C#
public static bool CheckSecurity(
	EvaluationContext context,
	Object obj,
	bool onlyCollection
)

Parameters

context
Type: CMS.MacroEngineEvaluationContext
Evaluation context
obj
Type: SystemObject
Object to check
onlyCollection
Type: SystemBoolean
If true, only collections are checked

Return Value

Type: Boolean
See Also