Click or drag to resize
MembershipUserInfoProviderGetMembershipUserInfo Method

Note: This API is now obsolete.

Returns relationship between specified membership and User.

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

Parameters

membershipId
Type: SystemInt32
Membership ID
userId
Type: SystemInt32
User ID

Return Value

Type: MembershipUserInfo
See Also