Share this page

# mapi_logout

Example: mapi_logout | MS Exchange Server Functions (MAPI)

Logs off from MS Exchange.

    int mapi_logout();

The mapi_logout function logs out from the MS Exchange server.

This function is for use with global sessions. For multiple sessions, use the mapi_logout_ex function, which allows you to specify a session identifier.

## Return Values

If this function succeeds, it returns LR_PASS. Otherwise, it returns LR_FAIL.

## Parameterization

Standard parameterization is not available for this function.

Tips to improve your search results... VuGen Function Reference Version 25.1-25.3 Function Reference 25.1-25.3 All View Local Help Center View Online Help Center Version: