Get the ID of a user. This function is intended for use in the infrastructure layer when persisting users to the database.
The user to get the ID for
The user ID, or undefined if not found
Get the ID of a user. This function is intended for use in the infrastructure layer when persisting users to the database.