Share via


TeamsChannelAccount Constructors

Definition

Overloads

TeamsChannelAccount()

Initializes a new instance of the TeamsChannelAccount class.

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

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()

Initializes a new instance of the TeamsChannelAccount class.

public TeamsChannelAccount ();
Public Sub New ()

Applies to

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

Initializes a new instance of the TeamsChannelAccount class.

public TeamsChannelAccount (string id = default, string name = default, string givenName = default, string surname = default, string email = default, string userPrincipalName = default);
new Microsoft.Bot.Schema.Teams.TeamsChannelAccount : string * string * string * string * string * string -> Microsoft.Bot.Schema.Teams.TeamsChannelAccount
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional givenName As String = Nothing, Optional surname As String = Nothing, Optional email As String = Nothing, Optional userPrincipalName As String = Nothing)

Parameters

id
String

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

name
String

Display friendly name.

givenName
String

Given name part of the user name.

surname
String

Surname part of the user name.

email
String

Email Id of the user.

userPrincipalName
String

Unique user principal name.

Applies to

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

Initializes a new instance of the TeamsChannelAccount class.

public TeamsChannelAccount (string id = default, string name = default, string givenName = default, string surname = default, string email = default, string userPrincipalName = default, string tenantId = default, string userRole = default);
new Microsoft.Bot.Schema.Teams.TeamsChannelAccount : string * string * string * string * string * string * string * string -> Microsoft.Bot.Schema.Teams.TeamsChannelAccount
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional givenName As String = Nothing, Optional surname As String = Nothing, Optional email As String = Nothing, Optional userPrincipalName As String = Nothing, Optional tenantId As String = Nothing, Optional userRole As String = Nothing)

Parameters

id
String

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

name
String

Display friendly name.

givenName
String

Given name part of the user name.

surname
String

Surname part of the user name.

email
String

Email Id of the user.

userPrincipalName
String

Unique user principal name.

tenantId
String

TenantId of the user.

userRole
String

UserRole of the user.

Applies to