HeaderActionsCheckPermissions Method |
Returns true if user has permission for given resource.
Returns true for empty resource name or permission.
Namespace: CMS.Base.Web.UIAssembly: CMS.Base.Web.UI (in CMS.Base.Web.UI.dll) Version: 13.0.131
Syntax protected bool CheckPermissions(
string resourceName,
string permission
)
Parameters
- resourceName
- Type: SystemString
Resource name - permission
- Type: SystemString
Permission name to check
Return Value
Type:
BooleanSee Also