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