UserInfo CheckPrivilegeLevel Method Kentico 8.1 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.1.5347.20411)

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