Logo Search packages:      
Sourcecode: f-spot version File versions  Download package

User FlickrNet::Flickr::PeopleFindByEmail ( string  emailAddress  )  [inline]

Used to fid a flickr users details by specifying their email address.

Parameters:
emailAddress The email address to search on.
Returns:
The User object containing the matching details.
Exceptions:
FlickrException A FlickrException is raised if the email address is not found.

Definition at line 1499 of file Flickr.cs.

            {
                  NameValueCollection parameters = new NameValueCollection();
                  parameters.Add("method", "flickr.people.findByEmail");
                  parameters.Add("api_key", _apiKey);
                  parameters.Add("find_email", emailAddress);

                  FlickrNet.Response response = GetResponseCache(parameters);

                  if( response.Status == ResponseStatus.OK )
                  {
                        return response.User;
                  }
                  else
                  {
                        throw new FlickrException(response.Error);
                  }
            }


Generated by  Doxygen 1.6.0   Back to index