Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Users Namespace / UserRepository Class / UpdatePrimaryAddressId Method
Id of the user for which to set the primary address Id
The address Id to set
In This Topic
    UpdatePrimaryAddressId Method (UserRepository)
    In This Topic
    Sets the primary address Id of a user
    Syntax
    public 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