SHOW USER
The SHOW USER statement returns identity details for the current connection — billing account and workspace memberships.
Basic Syntax
SHOW USER;Result Columns
| Column | Description |
|---|---|
attribute |
billing_account or membership (one row per membership) |
value |
The attribute's value |
type |
Value's data type |
Notes
- Returns one
membershiprow per workspace the caller belongs to, plus onebilling_accountrow.