Click or drag to resize
MembershipInfoProviderGetMembershipInfo Method (String, String)

Note: This API is now obsolete.

Returns membership with specified name.

Namespace: CMS.Membership
Assembly: CMS.Membership (in CMS.Membership.dll) Version: 13.0.131
Syntax
C#
[ObsoleteAttribute("Use IMembershipInfoProvider.Get(string, int) instead. To get an instance of the interface's implementation, use dependency injection or access the instance directly - MembershipInfo.Provider.")]
public static MembershipInfo GetMembershipInfo(
	string membershipName,
	string siteName
)

Parameters

membershipName
Type: SystemString
Membership name
siteName
Type: SystemString
Site name

Return Value

Type: MembershipInfo
See Also