<!-- # hard line break macro for HTML -->

# fiftyone.core.uid

Utilities for usage analytics.

Copyright 2017-2026, Voxel51, Inc.
<br/>
[voxel51.com](https://voxel51.com/)
<br/>
<br/>

**Functions:**

| [`get_user_id`](#fiftyone.core.uid.get_user_id)()   | Gets the UUID of the current user.   |
|-----------------------------------------------------|--------------------------------------|

### fiftyone.core.uid.get_user_id()

Gets the UUID of the current user.

The UUID is persisted in the FiftyOne config directory so that it is stable
across sessions. It is only used for anonymous usage analytics, so if the
config directory cannot be created or written to (e.g. a read-only
filesystem, or a container where `~` resolves to a directory we don’t
own), a fresh ephemeral UUID is returned rather than raising an error.

* **Returns:**
  a UUID string
