Freigeben über


UpdateUser Method

Updates information about a user in the data source.

Namespace:  Microsoft.CommerceServer.Runtime.Profiles
Assembly:  Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)

Syntax

'Declaration
Public Overrides Sub UpdateUser ( _
    membershipUser As MembershipUser _
)
'Usage
Dim instance As UpmMembershipProvider
Dim membershipUser As MembershipUser

instance.UpdateUser(membershipUser)
public override void UpdateUser(
    MembershipUser membershipUser
)
public:
virtual void UpdateUser(
    MembershipUser^ membershipUser
) override
public override function UpdateUser(
    membershipUser : MembershipUser
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

membershipUser is nullNothingnullptra null reference (Nothing in Visual Basic).

Remarks

Updates information about a user in the data source.

The password for the membership user cannot be updated using the UpdateUser method. To update the password for a membership user, use the ChangePasswordQuestionAndAnswer method.

Permissions

See Also

Reference

UpmMembershipProvider Class

UpmMembershipProvider Members

Microsoft.CommerceServer.Runtime.Profiles Namespace