TeamsChannelAccount interface

Extends

Properties

aadObjectId

This account's object ID within Azure Active Directory (AAD)

email
givenName
id

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

name

Display friendly name

role

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

surname
userPrincipalName

Property Details

aadObjectId

This account's object ID within Azure Active Directory (AAD)

aadObjectId?: string

Property Value

string

email

email?: string

Property Value

string

givenName

givenName?: string

Property Value

string

id

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

id: string

Property Value

string

name

Display friendly name

name: string

Property Value

string

role

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

role?: RoleTypes | string

Property Value

RoleTypes | string

surname

surname?: string

Property Value

string

userPrincipalName

userPrincipalName?: string

Property Value

string