jira.js
    Preparing search index...

    Function getDirectoryUserDetails

    • Returns detailed information about a specific user in a directory within an organization.

      Parameters

      • client: Client
      • parameters: { accountId: string; directoryId: string; orgId: string }
        • accountId: string

          Unique ID associated with a user account.

        • directoryId: string

          Unique ID associated with a directory. The - character can be used to increase the operation scope to all directories the requestor has permission to manage.

        • orgId: string

          Your organization has a unique ID. Find this ID in your Atlassian Administration URL or when you create your API key.

      • Optionaloptions: RequestOptions

      Returns Promise<
          {
              data?: {
                  accountId?: string;
                  accountStatus?: "active"
                  | "inactive"
                  | "closed"
                  | string & {};
                  accountType?: string & {} | "atlassian";
                  addedToOrg?: string;
                  avatar?: string;
                  claimStatus?: string & {} | "managed" | "unmanaged";
                  counts?: { resources?: number; [key: string]: unknown };
                  deactivatedOn?: string | null;
                  department?: string | null;
                  email?: string;
                  emailVerified?: boolean;
                  forDeletion?: boolean;
                  jobTitle?: string;
                  links?: Record<string, any>;
                  location?: string | null;
                  managementSource?: string & {} | "synced" | "invited" | null;
                  membershipStatus?: "active" | "suspended" | string & {} | "no_membership";
                  mfaEnabled?: boolean;
                  name?: string;
                  nickname?: string;
                  organization?: string | null;
                  picture?: string;
                  platformRoles?: (
                      | string & {}
                      | "atlassian/org-admin"
                      | "atlassian/site-admin"
                      | "atlassian/user-access-admin"
                      | "atlassian/ai-access"
                  )[];
                  status?: | "active"
                  | "suspended"
                  | string & {}
                  | "not_invited"
                  | "deactivated"
                  | "for_deletion";
                  timeZone?: string
                  | null;
                  [key: string]: unknown;
              };
              [key: string]: unknown;
          },
      >