IUserInfoCheckPrivilegeLevel Method |
Returns true if user fulfils the required privilege level (the higher level contains all children: GlobalAdmin -> Admin -> Editor -> None)
Namespace: CMS.BaseAssembly: CMS.Base (in CMS.Base.dll) Version: 12.0.0
Syntax bool CheckPrivilegeLevel(
UserPrivilegeLevelEnum privilegeLevel,
string siteName = null
)
Parameters
- privilegeLevel
- Type: CMS.BaseUserPrivilegeLevelEnum
Required privilege level - siteName (Optional)
- Type: SystemString
Site name for editor assignment. If not set current site name is used
Return Value
Type:
BooleanSee Also