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<WithId<ProfileResource> | undefined>;

Returns:

Promise<WithId<ProfileResource> | undefined>

The current user profile resource.