---
updatedAt: 2026-07-09T14:42:44.000Z
agentTools:
  siteIndex: https://techdocs.akamai.com/llms.txt
  projectIndex: https://techdocs.akamai.com/powershell/llms.txt
---

# User states

Get-IAMUserStates

## Synopsis

View states for a user profile.

## Syntax

```powershell
Get-IAMUserStates [-Country] <String> [[-EdgeRCFile] <String>] [[-Section] <String>] [[-AccountSwitchKey] <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
```

## Description

Gets the supported U.S. states or Canadian provinces.

You should use the values from this operation to add or update your state or province.

If you're an admin, you should run the `Get-IAMAdminStates` operation before modifying your user's state or province.

## Parameters

<table>
  <tbody>
    <tr>
      <td class="ps-td"><code>&#8209;AccountSwitchKey</code></td> 
      <td class="ps-tableinner">
        <div class="ps-metadata">
          <span class="ps-param-metadata">String</span>
          <span class="ps-param-metadata">Pipeline input: False</span>
        </div>
        <div>
          <p>An account credential key that lets you move between accounts when using an API client enabled for multiple accounts. To find account switch keys, use <a href="https://techdocs.akamai.com/powershell/docs/get-accountswitchkey">Get-AccountSwitchKey</a>.</p>
        </div>
      </td>
    </tr>
    <tr>
      <td class="ps-td"><code>&#8209;Country</code><br/><span style="color: red; padding-left: 11px; font-size: 13px;"><em>Required</em></span></td> 
      <td class="ps-tableinner">
        <div class="ps-metadata">
          <span class="ps-param-metadata">String</span>
          <span class="ps-param-metadata">Accepted values: <code>USA</code>, <code>Canada</code></span>
          <span class="ps-param-metadata">Pipeline input: False</span>
        </div>
        <div>
          <p>Filters the results by country, but only returns lists of states and provinces for <code>USA</code> and <code>Canada</code>.</p>
        </div>
      </td>
    </tr>
    <tr>
      <td class="ps-td"><code>&#8209;EdgeRCFile</code></td> 
      <td class="ps-tableinner">
        <div class="ps-metadata">
          <span class="ps-param-metadata">String</span>
          <span class="ps-param-metadata">Pipeline input: False</span>
        </div>
        <div>
          <p>Your EdgeGrid resource file to authenticate your command. Defaults to <code>~/.edgerc</code>.</p>
        </div>
      </td>
    </tr>
    <tr>
      <td class="ps-td"><code>&#8209;Section</code></td> 
      <td class="ps-tableinner">
        <div class="ps-metadata">
          <span class="ps-param-metadata">String</span>
          <span class="ps-param-metadata">Pipeline input: False</span>
        </div>
        <div>
          <p>The section name in your EdgeGrid resource file to retrieve authentication credentials from. Defaults to <code>default</code>.</p>
        </div>
      </td>
    </tr>
  </tbody>
</table>

## Related Links

* [User Guide: Identity & Access Management](https://techdocs.akamai.com/powershell/docs/identity-access)
* [API Reference](https://techdocs.akamai.com/iam-api/reference/get-user-states)

# Sibling pages

* [Accessible groups](https://techdocs.akamai.com/powershell/docs/get-iamaccessiblegroups.md)
* [Account switch key](https://techdocs.akamai.com/powershell/docs/get-accountswitchkey.md)
* [Admin contact types](https://techdocs.akamai.com/powershell/docs/get-iamadmincontacttypes.md)
* [Admin countries](https://techdocs.akamai.com/powershell/docs/get-iamadmincountries.md)
* [Admin languages](https://techdocs.akamai.com/powershell/docs/get-iamadminlanguages.md)
* [Admin password policy](https://techdocs.akamai.com/powershell/docs/get-iamadminpasswordpolicy.md)
* [Admin products](https://techdocs.akamai.com/powershell/docs/get-iamadminproducts.md)
* [Admin states](https://techdocs.akamai.com/powershell/docs/get-iamadminstates.md)
* [Admin timeout policy](https://techdocs.akamai.com/powershell/docs/get-iamadmintimeoutpolicy.md)
* [Admin time zones](https://techdocs.akamai.com/powershell/docs/get-iamadmintimezones.md)
* [Allowed APIs](https://techdocs.akamai.com/powershell/docs/get-iamallowedapis.md)
* [Allowed CP codes](https://techdocs.akamai.com/powershell/docs/get-iamallowedcpcodes.md)
* [API client](https://techdocs.akamai.com/powershell/docs/get-iamapiclient.md)
* [API credential](https://techdocs.akamai.com/powershell/docs/get-iamapicredential.md)
* [Authorized users](https://techdocs.akamai.com/powershell/docs/get-iamauthorizedusers.md)
* [Blocked properties](https://techdocs.akamai.com/powershell/docs/get-iamuserblockedproperties.md)
* [CIDR block](https://techdocs.akamai.com/powershell/docs/get-iamcidrblock.md)
* [Grantable roles](https://techdocs.akamai.com/powershell/docs/get-iamgrantablerole.md)
* [Group](https://techdocs.akamai.com/powershell/docs/get-iamgroup.md)
* [IP allowlist status](https://techdocs.akamai.com/powershell/docs/get-iamipallowliststatus.md)
* [Property](https://techdocs.akamai.com/powershell/docs/get-iamproperty.md)
* [Property resources](https://techdocs.akamai.com/powershell/docs/get-iampropertyresources.md)
* [Property users](https://techdocs.akamai.com/powershell/docs/get-iampropertyusers.md)
* [Role](https://techdocs.akamai.com/powershell/docs/get-iamrole.md)
* [User](https://techdocs.akamai.com/powershell/docs/get-iamuser.md)
* [Users affected by moving group](https://techdocs.akamai.com/powershell/docs/get-iamgroupmoveaffectedusers.md)
* [User contact types](https://techdocs.akamai.com/powershell/docs/get-iamusercontacttypes.md)
* [User countries](https://techdocs.akamai.com/powershell/docs/get-iamusercountries.md)
* [User languages](https://techdocs.akamai.com/powershell/docs/get-iamuserlanguages.md)
* [User password policy](https://techdocs.akamai.com/powershell/docs/get-iamuserpasswordpolicy.md)
* [User products](https://techdocs.akamai.com/powershell/docs/get-iamuserproducts.md)
* [User profile](https://techdocs.akamai.com/powershell/docs/get-iamuserprofile.md)
* [User timeout policy](https://techdocs.akamai.com/powershell/docs/get-iamusertimeoutpolicy.md)
* [User time zones](https://techdocs.akamai.com/powershell/docs/get-iamusertimezones.md)