(mozilla-projects-nss-reference-fc-logout)=

# FC_Logout

## [Name](#name)

:::{container}
FC_Logout - log a user out from a token.
:::

## [Syntax](#syntax)

:::{container}

```{code}
CK_RV FC_Logout(
  CK_SESSION_HANDLE hSession
);
```

:::

## [Parameters](#parameters)

:::{container}
`hSession`

: [in] session handle.
:::

## [Description](#description)

:::{container}
Logs the current user out of a USER_FUNCTIONS session.
:::

## [Return value](#return_value)

## [Examples](#examples)

## [See also](#see_also)

:::{container}

- {ref}`mozilla_projects_nss_reference_fc_closesession`, [NSC_Logout](/en-US/NSC_Logout)
:::
