Partager via


UserId Property

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

Gets or sets the unique identifier of this MailingListUser object.

Namespace:  Microsoft.CommerceServer.Marketing
Assembly:  Microsoft.CommerceServer.Marketing.CrossTierTypes (in Microsoft.CommerceServer.Marketing.CrossTierTypes.dll)

Syntax

'Declaration
Public Property UserId As String
'Usage
Dim instance As MailingListUser
Dim value As String

value = instance.UserId

instance.UserId = value
public string UserId { get; set; }
public:
property String^ UserId {
    String^ get ();
    void set (String^ value);
}
public function get UserId () : String
public function set UserId (value : String)

Property Value

Type: System..::.String
The Id value for the MailingListUser.

Exceptions

Exception Condition
StringLengthValidationException

The maximum length for the UserId was exceeded.

Remarks

The UserId maximum length is 64 characters.

Permissions

See Also

Reference

MailingListUser Class

MailingListUser Members

Microsoft.CommerceServer.Marketing Namespace