Skip to main content

core.medplumclient.getprofileasync

Home > @medplum/core > MedplumClient > getProfileAsync

MedplumClient.getProfileAsync() method

Returns the current user profile resource, retrieving form the server if necessary. This method waits for loading promises.

Signature:

getProfileAsync(): Promise<ProfileResource | undefined>;

Returns:

Promise<ProfileResource | undefined>

The current user profile resource.