Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Developers

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-27-2010, 07:45 AM
Active Member
 
Posts: 37
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.
Reply With Quote
  #2 (permalink)  
Old 05-30-2010, 10:41 PM
Zimbra Employee
 
Posts: 70
Default

Use can make the following SOAP call:

<EndSessionRequest xmlns="urn:zimbraAccount"/>
Reply With Quote
  #3 (permalink)  
Old 06-02-2010, 04:11 AM
Active Member
 
Posts: 37
Default

can you be more clear; i am using java to request. so can you give the example for making the logout request
Reply With Quote
  #4 (permalink)  
Old 06-02-2010, 04:28 AM
Zimbra Employee
 
Posts: 70
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>
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.