Language

AgenticIdentity.FromAccount(ChannelAccount) Method

Definition

Creates an AgenticIdentity from a ChannelAccount's typed agentic fields. Returns null if the account is null or has no agentic fields set.

public static Microsoft.Teams.Core.Schema.AgenticIdentity? FromAccount(Microsoft.Teams.Core.Schema.ChannelAccount? account);
static member FromAccount : Microsoft.Teams.Core.Schema.ChannelAccount -> Microsoft.Teams.Core.Schema.AgenticIdentity
Public Shared Function FromAccount (account As ChannelAccount) As AgenticIdentity

Parameters

account
ChannelAccount

Returns

Applies to