Skip to content

getInvokingUserId

getInvokingUserId(payload): string | undefined

Defined in: packages/core/src/adapters/ForgeInvocationPayload.ts:172

Extract the invoking user’s account ID from a Forge Remote payload. Returns undefined if the invocation was not triggered by a user (e.g. scheduled triggers, webtriggers without a session).

ForgeInvocationPayload

string | undefined