• Start

Languages

/

PHP

/

Methods

info

The info method returns information about the authenticated user in the SurrealDB PHP SDK.

This method returns the authenticated record user.

Method Syntax

$db->info()
$user = $db->info();

Was this page helpful?