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: 8.2.23
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