Jaa


CreateMembershipUser Method (Profile)

Creates a new UpmMembershipUser from an existing Profile object.

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

Syntax

'Declaration
Protected Overridable Function CreateMembershipUser ( _
    profile As Profile _
) As UpmMembershipUser
'Usage
Dim profile As Profile
Dim returnValue As UpmMembershipUser

returnValue = Me.CreateMembershipUser(profile)
protected virtual UpmMembershipUser CreateMembershipUser(
    Profile profile
)
protected:
virtual UpmMembershipUser^ CreateMembershipUser(
    Profile^ profile
)
protected function CreateMembershipUser(
    profile : Profile
) : UpmMembershipUser

Parameters

Return Value

Type: Microsoft.CommerceServer.Runtime.Profiles..::.UpmMembershipUser
A new UpmMembershipUser object that represents an existing user.

Remarks

This can be overridden to create a user of a new type that derives from UpmMembershipUser. This overload creates a user from an existing Profile object.

Permissions

See Also

Reference

UpmMembershipProvider Class

UpmMembershipProvider Members

CreateMembershipUser Overload

Microsoft.CommerceServer.Runtime.Profiles Namespace