> For the complete documentation index, see [llms.txt](https://docs.saturncms.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.saturncms.net/1.0.0/dev/libraries-and-functions/accountmanager/uuid.md).

# UUID

Unique User IDs (UUIDs) are strings used to identify users in Saturn's database. It's recommended to use UUIDs instead of row IDs as some tables don't use the row ID as the user ID, and it's good practice for security.

## Generate a UUID

Saturn has built-in functions for generating UUIDs.

```php
use Saturn\AccountManager\UUID;

$UUID = new UUID();

// The newly generated UUID is now in the $UniqID variable.
$UniqID = $UUID->Generate();
```
