Results 1 to 4 of 4

Thread: logout a user programatically???

  1. #1
    jayanth is offline Active Member
    Join Date
    May 2010
    Posts
    37
    Rep Power
    4

    Unhappy logout a user programatically???

    Hello all,

    i successfully logged in to zcs withput using zimbra login page using "Preauth" . I am eager to know how can i logout from the zcs if i logout from my application. is there any URL request so that i can logout from zcs if i click logout in my appliacaion.

    Thank you.

  2. #2
    vmahajan is offline Zimbra Employee
    Join Date
    Jan 2010
    Posts
    128
    Rep Power
    5

    Default

    Use can make the following SOAP call:

    <EndSessionRequest xmlns="urn:zimbraAccount"/>

  3. #3
    jayanth is offline Active Member
    Join Date
    May 2010
    Posts
    37
    Rep Power
    4

    Default

    can you be more clear; i am using java to request. so can you give the example for making the logout request

  4. #4
    vmahajan is offline Zimbra Employee
    Join Date
    Jan 2010
    Posts
    128
    Rep Power
    5

    Default

    Send the following soap request to the Zimbra server:

    <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
    <soap:Header>
    <context xmlns="urn:zimbra">
    <authToken>...</authToken>
    <session id="{returned-from-server-in-last-response}"/>
    </context>
    </soap:Header>
    <soap:Body>
    <EndSessionRequest xmlns="urn:zimbraAccount"/>
    </soap:Body>
    </soap:Envelope>

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 21
    Last Post: 02-04-2010, 10:06 AM
  2. [SOLVED] Zimbra logwatch.
    By nishith in forum Administrators
    Replies: 5
    Last Post: 06-10-2009, 04:42 PM
  3. Post instsallation problems
    By Assaf in forum Installation
    Replies: 14
    Last Post: 01-29-2007, 11:38 AM
  4. Services stopped working
    By lilwong in forum Administrators
    Replies: 4
    Last Post: 08-15-2006, 09:19 AM
  5. Fedora Core 3, Clean Install - Not working!
    By pcjackson in forum Installation
    Replies: 17
    Last Post: 03-05-2006, 07:38 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •