Confluence.js - Cloud and Server API library
    Preparing search index...

    Class Users

    Index

    Constructors

    Methods

    • Returns the accountIds for the users specified in the key or username parameters. Note that multiple key and username parameters can be specified.

      Permissions required: 'Confluence Administrator' global permission if specifying a user, otherwise permission to access the Confluence site ('Can use' global permission).

      Type Parameters

      Parameters

      Returns Promise<void>

    • Returns the accountIds for the users specified in the key or username parameters. Note that multiple key and username parameters can be specified.

      Permissions required: 'Confluence Administrator' global permission if specifying a user, otherwise permission to access the Confluence site ('Can use' global permission).

      Type Parameters

      Parameters

      Returns Promise<T>

    • Returns the currently logged-in user. This includes information about the user, like the display name, userKey, account ID, profile picture, and more.

      Permissions required: Permission to access the Confluence site ('Can use' global permission).

      Type Parameters

      Parameters

      Returns Promise<void>

    • Returns the currently logged-in user. This includes information about the user, like the display name, userKey, account ID, profile picture, and more.

      Permissions required: Permission to access the Confluence site ('Can use' global permission).

      Type Parameters

      Parameters

      Returns Promise<T>

    • Returns a user. This includes information about the user, such as the display name, account ID, profile picture, and more. The information returned may be restricted by the user's profile visibility settings.

      Note: to add, edit, or delete users in your organization, see the user management REST API.

      Permissions required: Permission to access the Confluence site ('Can use' global permission).

      Type Parameters

      Parameters

      Returns Promise<void>

    • Returns a user. This includes information about the user, such as the display name, account ID, profile picture, and more. The information returned may be restricted by the user's profile visibility settings.

      Note: to add, edit, or delete users in your organization, see the user management REST API.

      Permissions required: Permission to access the Confluence site ('Can use' global permission).

      Type Parameters

      Parameters

      • parameters: GetUser
      • Optionalcallback: undefined

      Returns Promise<T>