SurrealDB Docs Logo

Enter a search query

.Info<T>()

This method returns the record of an authenticated scope user.

Method Syntax
await db.Info<T>()

Arguments

PropertiesDescription
cancellationToken optional

The cancellationToken enables graceful cancellation of asynchronous operations.

Example usage

var currentUser = await db.Info<User>();

On this page

© SurrealDB GitHub Discord Community Cloud Features Releases Install