Click or drag to resize
CMSAdminControlCheckPermissions Method (String, String)
Check permissions for specified resource and permission type, return false is user doesn't have permissions.

Namespace: CMS.UIControls
Assembly: CMS.UIControls (in CMS.UIControls.dll) Version: 9.0.0
Syntax
C#
public bool CheckPermissions(
	string resourceName,
	string permissionType
)

Parameters

resourceName
Type: SystemString
Resource name
permissionType
Type: SystemString
Permission name

Return Value

Type: Boolean
See Also