Click or drag to resize
UserInfoIsInMembership Method (String, String)
Check whether current user is in membership

Namespace: CMS.Membership
Assembly: CMS.Membership (in CMS.Membership.dll) Version: 8.2.23
Syntax
C#
public virtual bool IsInMembership(
	string membership,
	string siteName
)

Parameters

membership
Type: SystemString
Membership name
siteName
Type: SystemString
Site name

Return Value

Type: Boolean
See Also