Share via


CreateMembershipUser Method (String)

Creates a new UpmMembershipUser.

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

Syntax

'Declaration
Protected Overridable Function CreateMembershipUser ( _
    userName As String _
) As UpmMembershipUser
'Usage
Dim userName As String
Dim returnValue As UpmMembershipUser

returnValue = Me.CreateMembershipUser(userName)
protected virtual UpmMembershipUser CreateMembershipUser(
    string userName
)
protected:
virtual UpmMembershipUser^ CreateMembershipUser(
    String^ userName
)
protected function CreateMembershipUser(
    userName : String
) : 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 an on-demand user that only retrieves the profile when it is used.

Permissions

See Also

Reference

UpmMembershipProvider Class

UpmMembershipProvider Members

CreateMembershipUser Overload

Microsoft.CommerceServer.Runtime.Profiles Namespace