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

User FlickrNet::Flickr::PeopleFindByUsername ( string  username  )  [inline]

Returns a User object matching the screen name.

username The screen name or username of the user.
A User class containing the userId and username of the user.
FlickrException A FlickrException is raised if the email address is not found.

Definition at line 1524 of file Flickr.cs.

                  NameValueCollection parameters = new NameValueCollection();
                  parameters.Add("method", "flickr.people.findByUsername");
                  parameters.Add("api_key", _apiKey);
                  parameters.Add("username", username);

                  FlickrNet.Response response = GetResponseCache(parameters);

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

Generated by  Doxygen 1.6.0   Back to index