GuideReference
TrainingSupportCommunity
Guide

Property users

akamai_iam_property_users

Get a list of users for a given property or include.

data "akamai_iam_property_users" "my_property_users" {
  asset_id = "12345"
}

output "my_property_users" {
  value = data.akamai_iam_property_users.my_property_users
}
Changes to Outputs:
  + my_property_users = {
      + asset_id  = "11218896"
      + user_type = null
      + users     = [
          + {
              + first_name     = "John"
              + is_blocked     = false
              + last_name      = "Smith"
              + ui_identity_id = "A-BC-987654"
              + ui_user_name   = "smith.john"
            },
          + {
              + first_name     = "Jane"
              + is_blocked     = false
              + last_name      = "Smith"
              + ui_identity_id = "A-BC-1234567"
              + ui_user_name   = "smith.jane"
            },
          + {
              + first_name     = "Jen"
              + is_blocked     = false
              + last_name      = "Smith"
              + ui_identity_id = "A-BC-7654321"
              + ui_user_name   = "smith.jen"
            },
        ]
    }

Arguments

Pass an asset_id in the data block to get details about its users. You can also add a user's type to narrow down the return list.

ArgumentRequiredDescription
asset_id✔️An asset ID for a property or include. If you don't have this value, use the Search data source with a property ID. The asset ID is in the response.
user_typeFilters the response by a particular type of user.

Attributes

Returned is a list of users who can access the given property or include.

AttributeDescription
first_nameThe user's given name.
last_nameThe user's surname.
is_blockedWhether the user is blocked from the asset.
ui_identity_idThe user's UI ID.
ui_user_nameThe user's username in Control Center.