

# Get the ARN of the agent in Amazon Connect Agent Workspace
getARN()

Returns the Amazon Resource Name(ARN) of the user that's currently logged in to the Amazon Connect agent workspace.

```
async getARN(): Promise<string>          
```

 **Permissions required:** 

```
User.Details.View                
```