Skip to content

Home > @opengovsg/logging > AccessDeniedInput > userId

AccessDeniedInput.userId property ​

The acting user, if authenticated (an attempt may be unauthenticated). Promoted to user_id.

Signature:

typescript
userId?: string;