retrieve - User Module Reference
This documentation provides a reference to the retrieve
method. This belongs to the User Module.
This method retrieves a user by its ID.
Example
A simple example that retrieves a {type name} by its ID:
To specify relations that should be retrieved:
Parameters
id
stringRequiredThe ID of the retrieve.
config
FindConfig<UserDTO>The configurations determining how the user is retrieved. Its properties, such as select
or relations
, accept the
attributes or relations associated with a user.
config
FindConfig<UserDTO>select
or relations
, accept the
attributes or relations associated with a user.Returns
The retrieved user.
Was this section helpful?