---
Added: v2.0.0
Status: Active
---
# People list component
Shows a list of users (people).

## Basic Usage
Populate the users in the component class:
```ts
import { UserProcessModel } from '@alfresco/adf-core';
export class SomeComponent implements OnInit {
people: UserProcessModel[] = [
{
id: 1,
email: 'john.doe@alfresco.com',
firstName: 'John',
lastName: 'Doe'
},
{
id: 2,
email: 'jane.doe@alfresco.com',
firstName: 'Jane',
lastName: 'Doe'
}
];
onClickPeopleRow(user: UserProcessModel) {
console.log('Clicked row: ', user);
}
onClickPeopleAction($event: Event) {
console.log('Clicked action: ', $event);
}
```
In the component template use the people list component:
```html
{{entry.row.obj.firstName + ' ' + entry.row.obj.lastName}}
{{ entry.row.obj.email }}
```
Note that the people list component is based on the [Datatable component](datatable.component.md).
### Properties
| Name | Type | Default value | Description |
| ---- | ---- | ------------- | ----------- |
| users | `any[]` | | The array of user data used to populate the people list. |
| actions | `boolean` | `false` | Toggles whether or not actions should be visible, i.e. the 'Three-Dots' menu. |
### Events
| Name | Type | Description |
| ---- | ---- | ----------- |
| clickRow | `EventEmitter` | Emitted when the user clicks a row in the people list. |
| clickAction | `EventEmitter` | Emitted when the user clicks in the 'Three Dots' drop down menu for a row. |