# For Each User

> For Each User activity that performs an activity or a series of activities on each IAM user in the current AWS account that matches the filter criteria.

`UiPath.AmazonWebServices.Activities.ForEachUser`

## Description

Performs an activity or a series of activities on each IAM user in the current AWS account that matches the filter criteria.

## Project compatibility

Windows - Legacy | Windows | Cross-platform

## Configuration

### Input

* **PathPrefix** - The path prefix to filter by. For example, if set to `/department_abc/team_xyz/`, it retrieves all users whose path starts with `/department_abc/team_xyz/`. If not set, it returns all users in the current AWS account.
* **RetrieveTags** - Indicates whether to retrieve the tags attached to the IAM user.

### Output

* **Index** - A zero-based index that specifies which element of the current collection is being iterated.
