

# Get the name of the agent in Amazon Connect Customer agent workspace
<a name="3P-apps-agent-requests-getname"></a>

Returns the name of the user that's currently logged in to the Amazon Connect Customer agent workspace.

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

 **Permissions required:** 

```
User.Details.View                
```