Click or drag to resize
MembershipUserInfoProviderSetMembershipUserInfo Method
Sets relationship between specified membership and User.

Namespace: CMS.Membership
Assembly: CMS.Membership (in CMS.Membership.dll) Version: 12.0.0
Syntax
C#
public static void SetMembershipUserInfo(
	MembershipUserInfo infoObj
)

Parameters

infoObj
Type: CMS.MembershipMembershipUserInfo
Membership-User relationship to be set
Remarks
Calling this method does not invalidate the user whose membership binding is being set. Consider using AddMembershipToUser(Int32, Int32, DateTime, Boolean) or invalidating the UserInfo explicitly.
See Also