Skip to main content

Function: isUserContext()

function isUserContext(ctx: ExecutionContext): ctx is UserContext & Partial<CallerContext>;

Parameters

ParameterType
ctxExecutionContext

Returns

ctx is UserContext & Partial<CallerContext>

Deprecated

Use isCallerContext. Active caller contexts retain the legacy identity accessors for callers narrowed by this guard.

Databricks Developer Hub

Ready to ship your next agentic app in minutes?

Read docs