Contact.FromDisplayNameAndEmailAddress(String, String) Contact.FromDisplayNameAndEmailAddress(String, String) Contact.FromDisplayNameAndEmailAddress(String, String) Method

Definition

Gets a Contact object for a user, given the user's display name and e-mail address.

public:
 static Microsoft::Office::Workflow::Utility::Contact ^ FromDisplayNameAndEmailAddress(System::String ^ name, System::String ^ email);
public static Microsoft.Office.Workflow.Utility.Contact FromDisplayNameAndEmailAddress (string name, string email);
Public Shared Function FromDisplayNameAndEmailAddress (name As String, email As String) As Contact
Parameters
name
String String String

Name of the user.

email
String String String

E-mail address of the user.

Returns

A Contact object for the user.

Remarks

For an example of how to use some of the members in the Contact class, see the example in ExpandGroups method.

Applies to