Click or drag to resize
HeaderActionsCheckPermissions Method
Returns true if user has permission for given resource. Returns true for empty resource name or permission.

Namespace: CMS.Base.Web.UI
Assembly: CMS.Base.Web.UI (in CMS.Base.Web.UI.dll) Version: 11.0.0
Syntax
C#
protected bool CheckPermissions(
	string resourceName,
	string permission
)

Parameters

resourceName
Type: SystemString
Resource name
permission
Type: SystemString
Permission name to check

Return Value

Type: Boolean
See Also