Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Get the user information from a specified list.
Namespace: Microsoft.CommerceServer.Marketing.WebService
Assembly: Microsoft.CommerceServer.Marketing.DataManagement (in Microsoft.CommerceServer.Marketing.DataManagement.dll)
Syntax
'Declaration
<WebMethodAttribute> _
Public Overridable Function GetUserFromList ( _
listId As Guid, _
email As String _
) As MailingListUserData
'Usage
Dim instance As MarketingWebService
Dim listId As Guid
Dim email As String
Dim returnValue As MailingListUserData
returnValue = instance.GetUserFromList(listId, _
email)
[WebMethodAttribute]
public virtual MailingListUserData GetUserFromList(
Guid listId,
string email
)
[WebMethodAttribute]
public:
virtual MailingListUserData^ GetUserFromList(
Guid listId,
String^ email
)
public function GetUserFromList(
listId : Guid,
email : String
) : MailingListUserData
Parameters
- listId
Type: System..::.Guid
The identifier of the List
- email
Type: System..::.String
The e-mail address of the user
Return Value
Type: MailingListUserData
A MailingListUserData instance associated with the user in the list, or nullNothingnullptra null reference (Nothing in Visual Basic).
Exceptions
Exception | Condition |
---|---|
EntityStateException | List is not available. |
DatabaseIntegrityException | A serious integrity issue with the database. |
CommerceResourceDependencyException | The Mailing List is an ExpressionList and the Profiles resource does not exist or is misconfigured. |
Remarks
Get the user information from a specified list. If the user cannot be found in the specified list, nullNothingnullptra null reference (Nothing in Visual Basic) is returned.
Use this method to retrieve a specific MailingListUserData containing the MailingListUser object from the database.
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.