Click or drag to resize
UserInfoCheckPrivilegeLevel Method
Returns true if user fulfills 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: 13.0.131
Syntax
C#
public 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: Boolean

Implements

IUserInfoCheckPrivilegeLevel(UserPrivilegeLevelEnum, String)
See Also