Skip to main content

User

A User represents any authenticated user of the Vendure API. This includes both Administrators as well as registered Customers.

Signature

constructor

method(input?: DeepPartial<User>) => User

deletedAt

propertyDate | null

identifier

propertystring

authenticationMethods

verified

propertyboolean

roles

propertyRole[]

lastLogin

propertyDate | null

customFields

propertyCustomUserFields

sessions

getNativeAuthenticationMethod

getNativeAuthenticationMethod

method(strict?: boolean) => NativeAuthenticationMethod | undefined

getNativeAuthenticationMethod

method(strict?: boolean) => NativeAuthenticationMethod | undefined
Was this chapter helpful?
Report Issue
Edited Feb 10, 2026ยทEdit this page