UserInfoIsInMembership Method (String, String, Boolean) |
Check whether current user is in membership
Namespace: CMS.MembershipAssembly: CMS.Membership (in CMS.Membership.dll) Version: 12.0.0
Syntax public virtual bool IsInMembership(
string membershipName,
string siteName,
bool checkGlobal
)
Parameters
- membershipName
- Type: SystemString
Membership name - siteName
- Type: SystemString
Site name - checkGlobal
- Type: SystemBoolean
If true global memberships are checked
Return Value
Type:
BooleanSee Also