Click or drag to resize
MacroResolverCheckObjectPermissions Method
Checks whether given user has Read permissions for given object type.

Namespace: CMS.MacroEngine
Assembly: CMS.MacroEngine (in CMS.MacroEngine.dll) Version: 9.0.0
Syntax
C#
public bool CheckObjectPermissions(
	BaseInfo obj,
	string userName
)

Parameters

obj
Type: CMS.DataEngineBaseInfo
Object to check
userName
Type: SystemString
User name against which to check

Return Value

Type: Boolean
See Also