Skip to content
  • There are no suggestions because the search field is empty.

Learners - Setting Manager Relationships

Manager relationships record who manages each learner in your LMS. You can set a learner's manager by hand, with a learner import, from your single sign-on (SSO) provider, or through the Public API. This article explains each method and what happens when more than one is in use.

In this article:


How Manager Relationships Work

Each learner can have only one manager at a time. The manager is another user in your LMS, and one person can manage many learners. The LMS doesn't support multiple managers for a single learner.

A manager relationship can come from four places. The Manager card on the learner's profile shows which one, as a badge:

  • Set by admin: an administrator set the manager by hand.
  • From user import: the manager came from the Manager column in a learner import.
  • From SSO: the manager came from an attribute your identity provider sent at sign-in.
  • From Public API: the manager came from an integration that uses the Public API.

A manager that an administrator sets by hand takes precedence. Imports, SSO sign-ins, and the Public API leave it alone. If you clear it, the next import, SSO sign-in, or API update can set a new one.

The LMS also protects the reporting structure. A learner can't be their own manager, and you can't create a reporting loop, such as two people managing each other or a longer chain that circles back to the start.


What Manager Relationships Do

Manager relationships record reporting lines so you can see them and report on them. Once managers are set, you can use them in three places:

  • The Manager card on each learner's profile shows who the learner's manager is and how the relationship was set.
  • The Learner Details report can show each learner's manager and filter learners by manager or by team.
  • The Public API returns each user's manager in the Manager field.

Before You Begin

Manager relationships are turned off by default. To turn them on, contact Customer Success at support@knowledgeanywhere.com or your Account Manager. Until the feature is on, you won't see the Manager card on learner profiles, the Manager column in the import template, or the Manager option in SAML field mapping.

If you already have a custom profile field named Manager, rename it before the feature is turned on, and let Customer Success know when you ask for it. Once the feature is on, a Manager column in a learner import sets the manager relationship instead of filling that field. For how to edit custom fields, see How do I Set and Use Custom Profile Fields?

What you can do depends on your admin role:

Method

Who can use it

Set, change, or clear a manager by hand

Global and Limited administrators, for any learner. Group administrators, for learners in their groups. Microsite administrators, for learners on their own site.

Import managers

Global administrators. Microsite administrators who can import learners, for their own site.

Map a SAML manager attribute

Global administrators

You can choose a manager only from the users in the sites you administer. If you don't have PII access, a manager's name and email are masked, as they are elsewhere in the LMS. For details on each role, see LMS Admin Roles Overview.


Setting a Manager by Hand

You set a learner's manager from the Manager card on the learner's profile. The card sits just below the profile form.

To set a learner's manager:

  1. Go to Learners and open the learner's profile.
  2. On the Manager card, click Set manager. If the learner has no manager, the card reads "No manager on file."
  3. In the side panel that opens, search for the manager by name or email.
  4. Click the person's row, then click Save. A message confirms that the manager was updated.
  5. Check the Manager card. It now shows the manager's name and email, with a Set by admin badge.



    • Type at least two characters. Matches appear as you type.
    • If nothing matches, the panel reads "No matching users in the sites you administer."

When you set or clear a manager by hand

Message

What it means

What to do

No matching users in the sites you administer.

Nobody in your sites matches what you typed.

Check the spelling, try the person's email, or confirm the person's account is in a site you administer.

A learner cannot be their own manager.

You selected the learner.

Choose someone else.

This assignment would create a reporting loop.

The person you chose already reports to this learner, directly or through other managers.

Choose a different manager, or change the other relationship first.

Unable to set the learner's manager.

The person you chose can't be found or is outside the sites you administer.

Choose someone in your sites. If you think the person should be available, contact Customer Success.

Unable to clear the learner's manager.

The learner is outside the sites you administer.

Ask an administrator who has access to that learner's site to clear the manager.

We couldn't update the manager. Please try again.

The save didn't go through, and the Manager card is unchanged.

Try again. If it keeps happening, contact Customer Success at support@knowledgeanywhere.com.

 


Changing or Clearing a Manager

To change a learner's manager:

  1. Go to Learners and open the learner's profile.
  2. On the Manager card, click Change.
  3. Search for the new manager, click the person's row, and click Save.
  4. Go to Learners and open the learner's profile.
  5. On the Manager card, click Clear.
  6. In the confirmation that asks "Clear the manager for this learner?", click Yes. The card returns to "No manager on file."

To clear a learner's manager:

Clearing a manager by hand is the only way to remove one. Imports, SSO sign-ins, and the Public API can set or replace a manager, but a blank or missing value never removes one. After you clear a manager, the next import, SSO sign-in, or API update is free to set a new one.

The Manager card can also show these states:

  • Manager assigned (not visible to you): the manager is outside the sites you administer, so their name and email are hidden. You can't change or clear the manager in this state.
  • Deactivated: the manager's account has been deactivated. The card still shows the manager with a Deactivated tag, so you may want to choose a new one.

Manager Set Methods

Setting Managers with a Learner Import

You can set managers for many learners at once with the Manager column in the learner import template. When manager relationships are turned on, the template includes the column. Rows that create learners and rows that update them can both set a manager, and the Manager card shows a From user import badge.

For each learner, enter the manager's SSO ID, username, or email. The LMS checks them in that order and accepts only an active user in the sites you administer. A blank cell leaves the learner's manager as it is, and an import never changes a manager that an administrator set by hand.

Keep these points in mind:

  • The column must be headed Manager. Capitalization and spaces don't matter. A column with a different name, such as Manager Email, isn't used to set the manager relationship.
  • Rows are processed in order, so the LMS can't find a manager who is created further down the same file. Import the managers first, or run the file a second time.
  • A row still imports if its manager can't be set. The import details show a note, and the manager stays as it was. See Messages You Might See.
Import Notes

These notes appear in the import details for a row. The learner is still imported, and the manager stays as it was.

Note

What it means

What to do

Manager column didn't match exactly one active learner in the sites you administer; manager unchanged.

The value matched no one, matched two people, matched an inactive user, or matched someone in a site you don't administer.

Use a more specific value, such as the manager's email or SSO ID. Confirm the manager is active and in your sites, then import the row again.

Manager column names the learner themself; manager unchanged.

The Manager value is the learner's own.

Enter the correct manager and import the row again.

Manager column would create a reporting loop; manager unchanged.

The manager already reports to this learner, directly or through other managers.

Correct the pairing and import the row again.

Manager column couldn't be saved; manager unchanged.

A system error prevented the save.

Import the row again. If it keeps happening, contact Customer Success.

If an administrator set a learner's manager by hand, the import leaves it alone and adds no note.

For the import steps, template requirements, and limits, see Importing Learners.

Setting Managers from a SAML Attribute

If your learners sign in through SAML single sign-on and your identity provider (IdP) sends an attribute that identifies each learner's manager, the LMS can set the manager at sign-in. A Global administrator maps the attribute under Settings > Integrations > SAML Settings: open Map Fields for the identity provider, then map the attribute your IdP sends to the Manager LMS profile field. The Manager option appears only when manager relationships are turned on.

The next time each learner signs in through SSO, the LMS looks for the manager in the attribute value. It checks SSO ID first, then username, then email. If exactly one active user matches, that user becomes the learner's manager, and the Manager card shows a From SSO badge.

Keep these points in mind:

  • The manager isn't changed if the value is blank, matches no active user or more than one, names the learner, or would create a reporting loop. The learner still signs in normally.
  • SSO doesn't change a manager that an administrator set by hand, and it never clears a manager.

For help setting up SAML and mapping fields, see SAML 2.0 Single Sign-On (SSO) Set Up Guide.

Setting Managers Through the Public API

If an integration creates or updates users through the Public API, it can send a Manager value with each user. The value can be the manager's external ID, SSO ID, username, or email. The LMS checks them in that order and matches against active users anywhere in your LMS.

Only Global administrators can get API credentials. For setup, endpoints, and authentication, see Knowledge Anywhere Public API.

  • Manager is accepted on POST /v2/user, PUT /v2/user/{externalId}, and the older PUT /external/v1/user/{externalId}.
  • The Manager card shows a From Public API badge.
  • Leaving Manager out, or sending it blank, keeps the current manager. The API can't clear a manager.
  • Sending the learner's current manager again changes nothing and returns no warning.
  • If the value now matches a different active user, the learner's manager moves to that user. The exception is a manager that an administrator set by hand, which is always kept.
  • GET /v2/user/{externalId} and GET /v2/users return the manager's email in Manager. The value is null when the learner has no manager or the feature is off.
  • When manager relationships are turned off, Manager is ignored on POST and PUT, with no warning.

The user is always saved, even if the manager can't be set. In that case the response has Has Warnings set to true and lists one of these warnings:

Warning

Meaning

WARNING_INVALID_MANAGER

No single active user matches the value.

WARNING_MANAGER_IS_SELF

The value is the user themself.

WARNING_MANAGER_CYCLE

The pairing would create a reporting loop.

WARNING_MANAGER_SET_BY_ADMIN

An administrator set this learner's manager by hand, so it was kept.

WARNING_MANAGER_NOT_SAVED

A system error prevented the save. The manager is unchanged.


Showing Managers in the Learner Details Report

Both versions of the Learner Details report, standard and advanced, include a Manager column and two manager filters. For general steps on running reports, see Reporting Overview and Learner Reports - Learner Details.

To show and filter by manager in the Learner Details report:

  1. Open the Learner Details report.
  2. In the column choices, under Learners, select Manager. This column is off by default.
  3. To narrow the report, use either filter:
    • Each row shows the manager as First Last (email).
    • The cell is blank when the learner has no manager.
    • The cell reads "(Not visible to you)" when the manager is outside the sites you administer.
    • Names and emails are masked if you don't have PII access, as elsewhere on the report.
    • Manager Relationship: select All (the default), My Team Only (learners whose manager is you), or No Manager On File.
    • Managers: type at least two characters of a name or email, then pick one or more people. The report keeps only their direct reports.

Keep these points in mind:

  • If you use both filters, the people you pick in Managers take priority over Manager Relationship.
  • The Managers search covers the learners you can see, whether or not they manage anyone. If you pick someone with no direct reports, the report is empty.
  • Sorting by Manager puts learners with no manager, or with "(Not visible to you)", last in both directions.
  • A saved report reopens with its picked managers. If you can no longer see a picked manager, that person appears as "(Not visible to you)".

If you have additional questions, or want Managers enabled, please reach out to your account manager or contact our customer success team at support@knowledgeanywhere.com.