編輯

共用方式為


aadUserConversationMember resource type

Namespace: microsoft.graph

Represents a Microsoft Entra user in a team, a channel, or a chat. This type inherits from conversationMember.

Methods

Method Return Type Description
List team members conversationMember collection Get the list of members in the team.
Add team member conversationMember Add a new member to the team.
Get team member conversationMember collection Get a member in the team.
Update team member's role conversationMember Change a member to an owner or back to a regular member.
Remove team member None Remove an existing member from the team.
List channel members conversationMember collection Get the list of all members in a channel.
Add channel member conversationMember Add a member to a channel. Only supported for channel with membershipType of private.
Get channel member conversationMember collection Get a member in a channel.
Update channel member's role conversationMember Update the properties of a member of the channel. Only supported for channel with membershipType of private.
Remove channel member None Delete a member from a channel. Only supported for channelType of private.
List chat members conversationMember collection Get the list of all members in a chat.
Add chat member Location header Add a member to a chat.
Get chat member conversationMember Get a member in a chat.
Remove chat member None Remove a member from a chat.

Properties

Property Type Description
displayName string The display name of the user.
email string The email address of the user.
id String Read-only. Unique ID of the user.
roles string collection The roles of the user such as owner, member, or guest.
tenantId string TenantId which the Microsoft Entra user belongs to.
userId string The guid of the user.
visibleHistoryStartDateTime DateTimeOffset The timestamp denoting how far back a conversation's history is shared with the conversation member. This property is settable only for members of a chat.

JSON representation

The following JSON representation shows the resource type.

{
  "@odata.type": "#microsoft.graph.aadUserConversationMember",
  "displayName" : "string",
  "email" : "string",
  "id": "string (identifier)",
  "roles" : ["string"],
  "tenantId": "string",
  "userId" : "string",
  "visibleHistoryStartDateTime": "string (timestamp)"
}