> ## Documentation Index
> Fetch the complete documentation index at: https://planmyrounds.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Link or unlink accounts

> Connect a doctor profile to a member account so that person sees their own shifts and leave after signing in — or remove the connection when things change.

Linking connects a doctor profile to the member account of the same person. Once linked, they sign in and see their own shifts, leave history, and scheduling preferences — instead of a generic organisation view.

<Note>
  Only admins can link or unlink accounts. The doctor themselves cannot do this.
</Note>

Not sure why this matters? See [Staff profiles and user accounts](/docs/team/staff-profiles-and-user-accounts).

## Before you link

The person needs a PlanMyRounds member account before you can link it to their doctor profile. If they haven't accepted an invitation yet, [invite them first](/docs/team/inviting-a-member) — they won't appear in the search until they do.

## Link an account

<Step title="Open Doctors">
  Go to **Doctors** in the sidebar.
</Step>

<Step title="Open the profile">
  Find the doctor and open their profile.
</Step>

<Step title="Open the menu">
  Select the three-dot menu in the profile header.
</Step>

<Step title="Select Link member">
  Choose **Link member**. Search by name or email — only unlinked member accounts appear in the results.
</Step>

<Step title="Confirm">
  Select the correct person and click **Link**. The profile now shows their name and email, and they'll see their personalised schedule the next time they sign in.
</Step>

<Frame>
  <img src="https://mintcdn.com/planmyrounds/tIWoyPSKmlI1j9rp/images/image.png?fit=max&auto=format&n=tIWoyPSKmlI1j9rp&q=85&s=9ab14ee4157b3981c1c84ed301b87bab" alt="Image" width="3022" height="1048" data-path="images/image.png" />
</Frame>

## Unlink an account

Unlinking removes the connection between the doctor profile and the member account. Both continue to exist — no data is deleted, and past rosters are unaffected.

<Step title="Open Doctors">
  Go to **Doctors** in the sidebar.
</Step>

<Step title="Open the profile">
  Find the doctor and open their profile.
</Step>

<Step title="Open the menu">
  Select the three-dot menu in the profile header.
</Step>

<Step title="Select Unlink member">
  Choose **Unlink member** and confirm in the dialog.
</Step>

After unlinking, the doctor profile becomes a standalone record again. The member can still sign in, and the profile can still be used in rosters and leave management. You can re-link either to a different account at any time.

<Warning>
  Unlinking does not delete either record — it only removes the connection between them.
</Warning>

## What happens when a member is deactivated

Deactivating a member account automatically marks their linked doctor profile as **Inactive**, removing them from future roster generation. Reactivating the member account restores the profile to active.

For the full deactivation flow, see [Deactivating or removing a member](/docs/team/removing-a-user).
