PromoUserIdentity Property
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Gets or sets a value used to support private promo codes with a customer identity.
Namespace: Microsoft.CommerceServer.Runtime.Orders
Assembly: Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)
Syntax
'Declaration
Public Property PromoUserIdentity As String
'Usage
Dim instance As OrderForm
Dim value As String
value = instance.PromoUserIdentity
instance.PromoUserIdentity = value
public string PromoUserIdentity { get; set; }
public:
property String^ PromoUserIdentity {
String^ get ();
void set (String^ value);
}
public function get PromoUserIdentity () : String
public function set PromoUserIdentity (value : String)
Property Value
Type: System..::.String
A value used to identify a customer.
Remarks
Stores a value used to support private promo codes with a customer identity. Functionally, the value is a string identifying the current user and can be used for tracking users. Examples of identities are member ID and e-mail address. A private promo code discount could be conditioned on any PromoUserIdentity value.
PromoUserIdentity is trimmed of leading and trailing white space characters before being set.
The default maximum length for PromoUserIdentity is 64 characters, as defined in the corresponding table column constraint specified in the default orders storage mapping file, OrderObjectMappings.xml.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.