# Hasp,Logout Method

Namespace: Aladdin.Hasp

## Description

Logs out from a context or session.

## Syntax

    HaspStatus Logout ( )

## Return Values

A HaspStatus status code.

## Usage Notes

Use this method to end a connection to an API session object. Once logged out from a session, all memory allocated for the session is released.

### Related Topics

Login Method

Login (With Scope) Method