LookupUser Method

Finds a mailing list user with the specified e-mail address.

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

Syntax

'Declaration
Public Function LookupUser ( _
    email As String _
) As MailingListUser
'Usage
Dim instance As MailingList
Dim email As String
Dim returnValue As MailingListUser

returnValue = instance.LookupUser(email)
public MailingListUser LookupUser(
    string email
)
public:
MailingListUser^ LookupUser(
    String^ email
)
public function LookupUser(
    email : String
) : MailingListUser

Parameters

Return Value

Type: Microsoft.CommerceServer.Marketing..::.MailingListUser
A MailingListUser object that represents the user, including the user's e-mail address, or nullNothingnullptra null reference (Nothing in Visual Basic) if user with the specified e-mail address does not exist in the current list.

Remarks

Returns a MailingListUser object a list entry with the specified e-mail address. Returns nullNothingnullptra null reference (Nothing in Visual Basic) if this email address is not in the list.

Permissions

See Also

Reference

MailingList Class

MailingList Members

Microsoft.CommerceServer.Marketing Namespace