Sanity Library Reference Docs
Preparing search index...
sanity
index
CurrentUser
Interface CurrentUser
interface
CurrentUser
{
email
:
string
;
id
:
string
;
name
:
string
;
profileImage
?:
string
;
provider
?:
string
;
role
:
string
;
roles
:
Role
[]
;
}
Index
Properties
email
id
name
profile
Image?
provider?
role
roles
Properties
email
email
:
string
id
id
:
string
name
name
:
string
Optional
profile
Image
profileImage
?:
string
Optional
provider
provider
?:
string
role
role
:
string
Deprecated
use
roles
instead
roles
roles
:
Role
[]
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
email
id
name
profile
Image
provider
role
roles
Sanity Library Reference Docs
Loading...
Deprecated
use
rolesinstead