SurrealDB Docs Logo

Enter a search query

.info()

This method returns the record of an authenticated scope user.

Method Syntax
async db.info<T>()

Example usage

const user = await db.info();

On this page

© SurrealDB GitHub Discord Community Cloud Features Releases Install