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: 13.0.131
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