
organization_id parameter under the Users section.
The following filter finds users that have an acme.com email domain but are not members of the Acme Organization:
email.domain:"acme.com" AND NOT organization_id:"ACME_ORG_ID"
The following finds all users that are in the Acme Organization and log in with a specific database connection.
organization_id:"ACME_ORG_ID" AND identities.connection:"my-db-connection-name"
The following example finds users whose email addresses start with jane and are members of the Acme Organization.
organization_id:"ACME_ORG_ID" AND email:jane*
To learn more, read User Search.