Click or drag to resize
MembershipUserInfoProviderDeleteMembershipUserInfo Method

Note: This API is now obsolete.

Deletes 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.Delete(MembershipUserInfo) instead. To get an instance of the interface's implementation, use dependency injection or access the instance directly - MembershipUserInfo.Provider.")]
public static void DeleteMembershipUserInfo(
	MembershipUserInfo infoObj
)

Parameters

infoObj
Type: CMS.MembershipMembershipUserInfo
Membership-user relationship to be deleted
Remarks
Calling this method does not invalidate the user the membership binding is being removed from. Consider using RemoveMembershipFromUser(Int32, Int32) or invalidating the UserInfo explicitly.
See Also