Click or drag to resize
MembershipUserInfoProviderRemoveMembershipFromUser Method
Deletes 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 RemoveMembershipFromUser(
	int membershipId,
	int userId
)

Parameters

membershipId
Type: SystemInt32
Membership ID
userId
Type: SystemInt32
User ID
Remarks
Invalidates the UserInfo object of the user whose membership is being modified.
See Also