How do I access user's Obsidian Account Info for my plugin?

I need to access some basic Obsidian account info of the Obsidian user. Ideally some sort of ID that can identify the user across devices.

How do I go about doing that? I didn’t see any documentation on an API that I could use.