Skip to content

Home > @opengovsg/logging > SensitiveEndpointAccessedInput > userId

SensitiveEndpointAccessedInput.userId property ​

The acting user, if the request was user-authenticated. Promoted to user_id.

Signature:

typescript
userId?: string;