jira.js
    Preparing search index...

    Function getDuplicatedUsersMapping

    • Returns duplicated users mapped to their directories with an indication if their accounts are active or not. Duplicated means that the user has an account in more than one directory and either more than one account is active or the only active account does not belong to the directory with the highest priority. The data returned by this endpoint is cached for 10 minutes and the cache is flushed when any User Directory is added, removed, enabled, disabled, or synchronized. A System Administrator can also flush the cache manually. Related JAC ticket: https://jira.atlassian.com/browse/JRASERVER-68797

      Parameters

      • client: Client
      • Optionalparameters: { flush?: boolean }
        • Optionalflush?: boolean

          If set to true forces cache flush, user must be sysadmin for this parameter to have an effect.

      • Optionaloptions: RequestOptions

      Returns Promise<
          {
              fileName?: string;
              id?: string;
              isDeletable?: boolean;
              isSelected?: boolean;
              isSystemAvatar?: boolean;
              owner?: string;
              selected?: boolean;
              urls?: Record<string, string>;
              [key: string]: unknown;
          },
      >