Kopīgot, izmantojot


SoldToId Property

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Gets the user identifier of the shopper.

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

Syntax

'Declaration
Public ReadOnly Property SoldToId As Guid
'Usage
Dim instance As OrderGroup
Dim value As Guid

value = instance.SoldToId
public Guid SoldToId { get; }
public:
property Guid SoldToId {
    Guid get ();
}
public function get SoldToId () : Guid

Property Value

Type: System..::.Guid
An identifier (GUID) containing the user identifier of the shopper.

Exceptions

Exception Condition
InvalidOperationException

The order group has been disposed, either directly or by conversion from an OrderTemplate to a Basket or a Basket to a PurchaseOrder.

Remarks

SoldToId is a User ID, typically the cookie or another identifier from a third party user profile system. If using the User Profile System, SoldToId is the User ID.

Permissions

See Also

Reference

OrderGroup Class

OrderGroup Members

Microsoft.CommerceServer.Runtime.Orders Namespace