Share via


TeamsChannelAccount Class

Definition

Teams channel account detailing user Azure Active Directory details.

public class TeamsChannelAccount : Microsoft.Bot.Schema.ChannelAccount
type TeamsChannelAccount = class
    inherit ChannelAccount
Public Class TeamsChannelAccount
Inherits ChannelAccount
Inheritance
TeamsChannelAccount
Derived

Constructors

TeamsChannelAccount()

Initializes a new instance of the TeamsChannelAccount class.

TeamsChannelAccount(String, String, String, String, String, String, String, String)

Initializes a new instance of the TeamsChannelAccount class.

TeamsChannelAccount(String, String, String, String, String, String)

Initializes a new instance of the TeamsChannelAccount class.

Properties

AadObjectId

Gets or sets this account's object ID within Azure Active Directory (AAD).

(Inherited from ChannelAccount)
Email

Gets or sets email Id of the user.

GivenName

Gets or sets given name part of the user name.

Id

Gets or sets channel id for the user or bot on this channel (Example: joe@smith.com, or @joesmith or 123456).

(Inherited from ChannelAccount)
Name

Gets or sets display friendly name.

(Inherited from ChannelAccount)
Properties

Gets or sets properties that are not otherwise defined by the ChannelAccount type but that might appear in the REST JSON object.

(Inherited from ChannelAccount)
Role

Gets or sets role of the entity behind the account (Example: User, Bot, etc.). Possible values include: 'user', 'bot'.

(Inherited from ChannelAccount)
Surname

Gets or sets surname part of the user name.

TenantId

Gets or sets the TenantId.

UserPrincipalName

Gets or sets unique user principal name.

UserRole

Gets or sets the UserRole.

Applies to