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).
Parameters
Section titled “Parameters”payload
Section titled “payload”Returns
Section titled “Returns”string | undefined