Service: zimbraAdmin

Command: DumpSessions
Namespace: urn:zimbraAdmin
Description: Dump sessions
Properties:
Authorization token required true
Admin Authorization token required true

DumpSessionsRequest

    <DumpSessionsRequest [listSessions="(0|1)"] [groupByAccount="(0|1)"] /> ## DumpSessionsRequest

elements and attributes you can define within a <DumpSessionsRequest> element:

XPath Required / Optional Description
@listSessions Optional (0 or 1) Type: 0|1
List Sessions flag
@groupByAccount Optional (0 or 1) Type: 0|1
Group by account flag

DumpSessionsResponse

    <DumpSessionsResponse activeSessions="{total-active-session-count} (int)"> ## DumpSessionsResponse
        <soap [activeAccounts="{active-account-count} (Integer)"] activeSessions="{active-account-sessions} (int)"> ## InfoForSessionType
            (<zid name="{account-name}" id="{account-id}"> ## AccountSessionInfo
                (<s [zid="{account-id}"] [name="{account-name}"] sid="{session-id}" cd="{creation-date} (long)"
                        ld="{last-accessed-date} (long)" /> ## SessionInfo)*
              </zid>)*
            (<s ... /> ## See /soap/zid/s [ ## SessionInfo])*
         </soap>
        <imap [activeAccounts="{active-account-count} (Integer)"] activeSessions="{active-account-sessions} (int)"> ... </imap> ## See /soap [ ## InfoForSessionType]
        <admin [activeAccounts="{active-account-count} (Integer)"] activeSessions="{active-account-sessions} (int)"> ... </admin> ## See /soap [ ## InfoForSessionType]
        <wiki [activeAccounts="{active-account-count} (Integer)"] activeSessions="{active-account-sessions} (int)"> ... </wiki> ## See /soap [ ## InfoForSessionType]
        <synclistener [activeAccounts="{active-account-count} (Integer)"]
                          activeSessions="{active-account-sessions} (int)"> ... </synclistener> ## See /soap [ ## InfoForSessionType]
        <waitset [activeAccounts="{active-account-count} (Integer)"] activeSessions="{active-account-sessions} (int)"> ... </waitset> ## See /soap [ ## InfoForSessionType]
    </DumpSessionsResponse>

elements and attributes you can define within a <DumpSessionsResponse> element:

XPath Required / Optional Description
@activeSessions Required (only 1) Type: int
Count of active sessions
/soap Optional (0 or 1) Information about SOAP sessions
/soap@activeAccounts Optional (0 or 1) Type: Integer
Count of number of active accounts
/soap@activeSessions Required (only 1) Type: int
Count of number of active sessions
/soap/zid Optional (0 or more) If the request selected "groupByAccount" and "listSessions" then the session information will be grouped under here.
/soap/zid@name Required (only 1) Type: String
Account name
/soap/zid@id Required (only 1) Type: String
Account ID
/soap/zid/s Optional (0 or more) Information on sessions
/soap/zid/s@zid Optional (0 or 1) Type: String
Account ID
/soap/zid/s@name Optional (0 or 1) Type: String
Account name
/soap/zid/s@sid Required (only 1) Type: String
Session ID
/soap/zid/s@cd Required (only 1) Type: long
Creation date
/soap/zid/s@ld Required (only 1) Type: long
Last accessed date
/soap/s Optional (0 or more) If the request selected "listSessions" but NOT "groupByAccount" then the session information will be under here.
See /soap/zid/s for more details.
/imap Optional (0 or 1) Information about IMAP sessions
See /soap for more details.
/admin Optional (0 or 1) Information about ADMIn sessions
See /soap for more details.
/wiki Optional (0 or 1) Information about WIKI sessions
See /soap for more details.
/synclistener Optional (0 or 1) Information about SYNCLISTENER sessions
See /soap for more details.
/waitset Optional (0 or 1) Information about WaitSet sessions
See /soap for more details.