<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@digitalpersona/enrollment](./enrollment.md) &gt; [FaceEnroll](./enrollment.faceenroll.md) &gt; [enroll](./enrollment.faceenroll.enroll.md)

## FaceEnroll.enroll() method

Enrolls a face.

<b>Signature:</b>

```typescript
enroll(samples: BioSample[]): Promise<void>;
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  samples | <code>BioSample[]</code> | a collection of face images. |

<b>Returns:</b>

`Promise<void>`

a promise to perform the enrollment or reject in case of an error.

