Module FakeUser/frameworks/userMetadata
Functions
getUserMetadata
- getUserMetadata(): { correlationId: string; userId: string }
Returns { correlationId: string; userId: string }
correlationId: string
userId: string
setUserMetadata
- setUserMetadata(correlationId: string, userId: string): void
Parameters
correlationId: string
userId: string
Returns void
Get user metadata from process environment.