UserInfo CheckPrivilegeLevel Method Kentico 8.0 API Reference
Returns true if user fulfils the required privilege level (the higher level contains all children: GlobalAdmin -> Admin -> Editor -> None)

Namespace: CMS.Membership
Assembly: CMS.Membership (in CMS.Membership.dll) Version: 8.0.0.0 (8.0.5239.26125)

Parameters

privilegeLevel
Type: CMS.Membership UserPrivilegeLevelEnum
Required privilege level
siteName (Optional)
Type: OnlineSystem String
Site name for editor assignment. If not set current site name is used

Return Value

Type: OnlineBoolean
See Also