# AuthorshipOptions.getActorId property · @imqueue/pg-prisma

Source: https://imqueue.org/api/pg-prisma/latest/pg-prisma.authorshipoptions.getactorid/
Published: 2026-08-01
Author: @imqueue maintainers (https://github.com/imqueue)
Package: @imqueue/pg-prisma 1.0.1 — generated reference, not hand-written

Resolves the id of the actor performing the current write, or null when there is none (system/unauthenticated). The extension is deliberately ignorant of \*where\* the id comes from — the caller supplies it (e.g. from the request context).

**Signature:**

```typescript
getActorId: () => string | null;
```

