CMSAdminControlCheckPermissions Method (String, String) |
Check permissions for specified resource and permission type, return false is user doesn't have permissions.
Namespace: CMS.UIControlsAssembly: CMS.UIControls (in CMS.UIControls.dll) Version: 13.0.131
Syntax public bool CheckPermissions(
string resourceName,
string permissionType
)
Parameters
- resourceName
- Type: SystemString
Resource name - permissionType
- Type: SystemString
Permission name
Return Value
Type:
BooleanSee Also