Click or drag to resize
CMSAdminControlCheckPermissions Method (String, 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: 12.0.0
Syntax
C#
public bool CheckPermissions(
	string resourceName,
	string permissionType,
	string modulePermissionType
)

Parameters

resourceName
Type: SystemString
Resource name
permissionType
Type: SystemString
Permission name
modulePermissionType
Type: SystemString
Name of the module permission

Return Value

Type: Boolean
See Also