Account.Role Property

Definition

Caution

Use Account.Type instead (e.g., AccountType.Person, AccountType.Bot). Will be removed by end of summer 2026.

[System.Obsolete("Use Account.Type instead (e.g., AccountType.Person, AccountType.Bot). Will be removed by end of summer 2026.")]
[System.Text.Json.Serialization.JsonPropertyName("role")]
[System.Text.Json.Serialization.JsonPropertyOrder(2)]
public Microsoft.Teams.Api.Role? Role { get; set; }
[<System.Obsolete("Use Account.Type instead (e.g., AccountType.Person, AccountType.Bot). Will be removed by end of summer 2026.")>]
[<System.Text.Json.Serialization.JsonPropertyName("role")>]
[<System.Text.Json.Serialization.JsonPropertyOrder(2)>]
member this.Role : Microsoft.Teams.Api.Role with get, set
Public Property Role As Role

Property Value

Attributes

Applies to