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

FoundUser RtmNet::Rtm::TestLogin (  )  [inline]

Test the logged in state of the current Filckr object.

Returns:
The FoundUser object containing the username and userid of the current user.

Definition at line 1267 of file Rtm.cs.

            {
                  Hashtable parameters = new Hashtable();
                  parameters.Add("method", "Rtm.test.login");

                  RtmNet.Response response = GetResponse(parameters);

                  if( response.Status == ResponseStatus.OK )
                  {
                        return new FoundUser(response.AllElements[0]);
                  }
                  else
                  {
                        throw new RtmApiException(response.Error);
                  }
            }


Generated by  Doxygen 1.6.0   Back to index