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