Logo Search packages:      
Sourcecode: tasque version File versions  Download package

Contacts RtmNet::Rtm::ContactsGetPublicList ( string  userId  )  [inline]

Gets a list of the given users contact, or those that are publically avaiable.

Parameters:
userId The Id of the user who's contacts you want to return.
Returns:
An instance of the Contacts class containing the list of contacts.

Definition at line 1038 of file Rtm.cs.

            {
                  Hashtable parameters = new Hashtable();
                  parameters.Add("method", "rtm.contacts.getPublicList");
                  parameters.Add("user_id", userId);
                  RtmNet.Response response = GetResponse(parameters);

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


Generated by  Doxygen 1.6.0   Back to index