The Contacts::GetContact function returns a Contact object based on its email address.
[object] GetContact( [string] Email );
A Contact object if the contact is found in the object's list, null otherwise.
This function typically fails for the following reason:
By default, this function searches for both Windows Live and Yahoo Messenger contacts. If the current user has twice the same contact in its list, both using the same sign-in email for Windows Live and Yahoo, the contact object returned by default will always be the one connected on Windows Live. You can force a request for contacts on the Yahoo network by prefixing the email with "yahoo:".
Object | Contacts |
---|---|
Availability | Messenger Plus! Live 4.00 |