title: How to list users from all Identity Domains in Oracle Cloud Infrastructure?
body: <p>I need to retrieve a list of all users present in my Oracle Cloud environment via REST API or Go SDK.</p>
  <p>Looking at the <a href="https://docs.oracle.com/en/cloud/paas/iam-domains-rest-api/op-admin-v1-users-get.html" rel="nofollow noreferrer">REST API docs</a>, the <a href="https://pkg.go.dev/github.com/oracle/oci-go-sdk@v24.3.0+incompatible/identity#IdentityClient.ListUsers" rel="nofollow noreferrer">Go SDK docs</a>, and the <a href="https://docs.oracle.com/en-us/iaas/tools/oci-cli/3.10.4/oci_cli_docs/cmdref/iam/user/list.html" rel="nofollow noreferrer">OCI CLI docs</a>, nowhere seems to provide an option to supply Identity Domain as an argument.</p>
  <p><code>oci iam user list</code> returns only the set of users present in the &quot;Default&quot; domain, even when I authenticate as a user in another domain.</p>
  <p>Is there a way to fetch users from other Identity Domains?</p>