Uploaded image for project: 'Admin Experience'
  1. Admin Experience
  2. AX-239

API to retrieve users emails in case it is hidden from public

XMLWordPrintable

      Currently it is not possible to retrieve email of user within the Org in case email visibility is set to "Only you and admins".

      There are a couple of API endpoints, however, they are not working (expectedly) 

      1. [{{{{{}baseUrl{}}}}}/rest/api/3/user?accountId=...] This doesn't work due to visibility of email
      2. [{{{{{}baseUrl{}}}}}/rest/api/3/user/email?accountId=...]. This doesn't work because it's a user making the call not a whitelisted application.

      There should be API to retrieve user email in case it is called with admin authentication (admin has permissions to view email).

      Use case scenario: Implementation of user picker fields in JSM forms which should query list of users.

            Unassigned Unassigned
            ae62c65efb2c Andrey Lazarev
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: