Account.Role Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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