HeaderActionsCheckPermissions Method |
Returns true if user has permission for given resource.
Returns true for empty resource name or permission.
Namespace: CMS.ExtendedControlsAssembly: CMS.ExtendedControls (in CMS.ExtendedControls.dll) Version: 9.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