# int GetTerritoryState(str)

[Family: Global](/imperivm/en/CKS/familias/global/)

## Exact signature

```text
int GetTerritoryState(str)
```

## Description

Resolves a named territory and returns its stored state value, with a default of two.

## Parameters and return type

**Return type:** `int`

| Position | Type |
| --- | --- |
| 1 | `str` |

## Read and share

- [Markdown](/imperivm/exports/en/cks/api-e5ba72261a3f07.md)
- [JSON](/imperivm/CKS/api/entries/api-e5ba72261a3f07?lang=en)

Keep the notes and limitations when reusing this description. Do not infer undocumented parameter meanings, units or effects.
