This API is only for [extensions installed by a policy](https://cloud.google.com/blog/products/chrome-enterprise/how-to-manage-chrome-extensions-on-windows-and-mac).

<br />

> [!NOTE]
> **Important:** This API works **only on ChromeOS**.

<br />

<br />

## Description

Use the `chrome.enterprise.login` API to exit Managed Guest sessions. Note: This API is only available to extensions installed by enterprise policy in ChromeOS Managed Guest sessions.

<br />

<br />

## Permissions

`enterprise.login`  

<br />

<br />

## Availability

Chrome 139+ browser.\* since Chrome 148 ChromeOS only [Requires policy](https://support.google.com/chrome/a/answer/9296680)

<br />

<br />

<br />

## Methods

### exitCurrentManagedGuestSession()

```typescript
browser.enterprise.login.exitCurrentManagedGuestSession(): Promise<void>
```

Exits the current managed guest session.

#### Returns

- Promise\<void\>

<br />