Returns true if the user is member of the specified role on the specified site (or on global role if check global is true).
Namespace: CMS.MembershipAssembly: CMS.Membership (in CMS.Membership.dll) Version: 8.0.0.0 (8.0.5239.26125)
Parameters
- roleName
- Type: System String
Role name to check
- siteName
- Type: System String
Site name to check
- checkGlobal
- Type: System Boolean
If true, global roles are checked
- checkMembership
- Type: System Boolean
If true, membership roles are checked
Return Value
Type: BooleanSee Also