Language

AgentLifecycleExtensions.OnAgenticUserIdentityCreated Method

Definition

Registers a handler for AgenticUserIdentityCreated lifecycle event activities.

public static Microsoft.Teams.Apps.TeamsBotApplication OnAgenticUserIdentityCreated(this Microsoft.Teams.Apps.TeamsBotApplication app, Microsoft.Teams.Apps.AgenticUserIdentityCreatedHandler handler);
static member OnAgenticUserIdentityCreated : Microsoft.Teams.Apps.TeamsBotApplication * Microsoft.Teams.Apps.AgenticUserIdentityCreatedHandler -> Microsoft.Teams.Apps.TeamsBotApplication
<Extension()>
Public Function OnAgenticUserIdentityCreated (app As TeamsBotApplication, handler As AgenticUserIdentityCreatedHandler) As TeamsBotApplication

Parameters

app
TeamsBotApplication

The Teams bot application.

handler
AgenticUserIdentityCreatedHandler

The handler to register.

Returns

The updated Teams bot application.

Applies to