Data Source: oci_identity_users

This data source provides the list of Users in Oracle Cloud Infrastructure Identity service.

Lists the users in your tenancy. You must specify your tenancy’s OCID as the value for the compartment ID (remember that the tenancy is simply the root compartment). See Where to Get the Tenancy’s OCID and User’s OCID.

Example Usage

data "oci_identity_users" "test_users" {
	#Required
	compartment_id = var.tenancy_ocid

	#Optional
	external_identifier = var.user_external_identifier
	identity_provider_id = oci_identity_identity_provider.test_identity_provider.id
	name = var.user_name
	state = var.user_state
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

User Reference

The following attributes are exported: