Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Users Namespace / User Class / Migrate Method / Migrate(User,User,Boolean,Boolean,Boolean) Method
The user that provides the source data.
The user to receive the data.
If true, order history and address book are migrated.
If true, newUser represents an account just created.
If true basket shipments as they are currently created will also be transfered
In This Topic
    Migrate(User,User,Boolean,Boolean,Boolean) Method
    In This Topic
    Migrates data such as profile settings and basket contents from one user to another.
    Syntax

    Parameters

    oldUser
    The user that provides the source data.
    newUser
    The user to receive the data.
    includeOrderData
    If true, order history and address book are migrated.
    isNewUserAccount
    If true, newUser represents an account just created.
    migrateBasketShipments
    If true basket shipments as they are currently created will also be transfered
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also