編輯

共用方式為


userTeamwork resource type

Namespace: microsoft.graph

Represents a container for the range of Microsoft Teams functionalities that are available per user in the tenant.

Methods

Method Return type Description
Get userTeamwork Get userTeamwork settings for the specified user, which includes the Microsoft Teams region and the locale chosen by the user.

Properties

Property Type Description
id String The unique identifier for the userTeamwork object.
locale String Represents the location that a user selected in Microsoft Teams and doesn't follow the Office's locale setting. A user’s locale is represented by their preferred language and country or region. For example, en-us. The language component follows two-letter codes as defined in ISO 639-1, and the country component follows two-letter codes as defined in ISO 3166-1 alpha-2.
region string Represents the region of the organization or the user. For users with multigeo licenses, the property contains the user's region (if available). For users without multigeo licenses, the property contains the organization's region.

The region value can be any region supported by the Teams payload. The possible values are: Americas, Europe and MiddleEast, Asia Pacific, UAE, Australia, Brazil, Canada, Switzerland, Germany, France, India, Japan, South Korea, Norway, Singapore, United Kingdom, South Africa, Sweden, Qatar, Poland, Italy, Israel, Spain, Mexico, USGov Community Cloud, USGov Community Cloud High, USGov Department of Defense, and China.

Relationships

Relationship Type Description
associatedTeams associatedTeamInfo collection The list of associatedTeamInfo objects that a user is associated with.
installedApps teamsAppInstallation collection The apps installed in the personal scope of this user.

JSON representation

The following JSON representation shows the resource type.

{
  "id": "String (identifier)",
  "locale" : "String",
  "region" : "String"
}