Get the user ID
Gets the Tauri store (create or get current instance) and retrieves the user ID from the store.
Promise<string | null> - The user ID or null if not found.
If the store operation fails (e.g., I/O error).
const userId = await getUserId(); Copy
const userId = await getUserId();
Get the user ID
Gets the Tauri store (create or get current instance) and retrieves the user ID from the store.