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

PoolGroups FlickrNet::Flickr::PeopleGetPublicGroups ( string  userId  )  [inline]

Get a list of public groups for a user.

Parameters:
userId The user id to get groups for.
Returns:
An instance of the PoolGroups class.

Definition at line 1594 of file Flickr.cs.

            {
                  NameValueCollection parameters = new NameValueCollection();
                  parameters.Add("method", "flickr.people.getPublicGroups");
                  parameters.Add("api_key", _apiKey);
                  parameters.Add("user_id", userId);

                  FlickrNet.Response response = GetResponseCache(parameters);

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


Generated by  Doxygen 1.6.0   Back to index