Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Users Namespace / IUserRepository Interface / UpdatePrimaryAddressId Method
Id of the user for which to set the primary address Id
The address Id to set
In This Topic
    UpdatePrimaryAddressId Method (IUserRepository)
    In This Topic
    Sets the primary address Id of a user
    Syntax
    void UpdatePrimaryAddressId( 
       int userId,
       int addressId
    )

    Parameters

    userId
    Id of the user for which to set the primary address Id
    addressId
    The address Id to set
    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