aadUserConversationMember 资源类型aadUserConversationMember resource type

命名空间:microsoft.graphNamespace: microsoft.graph

表示团队频道聊天中的 Azure Active Directory 用户。Represents an Azure Active Directory user in a team, a channel, or a chat. 此类型继承自 conversationMemberThis type inherits from conversationMember.

方法Methods

方法Method 返回类型Return Type 说明Description
列出团队成员List team members conversationMember 集合conversationMember collection 获取此团队中的成员列表。Get the list of members in the team.
添加团队成员Add team member conversationMemberconversationMember 向团队中添加新成员。Add a new member to the team.
获取团队成员Get team member conversationMember 集合conversationMember collection 获取团队中的成员。Get a member in the team.
更新成员角色Update team member's role conversationMemberconversationMember 将成员更改为所有者或返回为常规成员。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 集合conversationMember collection 获取频道中的所有成员列表。Get the list of all members in a channel.
添加频道成员Add channel member conversationMemberconversationMember 向频道添加成员。Add a member to a channel. 仅支持 membershipType 为 privatechannelOnly supported for channel with membershipType of private.
获取频道成员Get channel member conversationMember 集合conversationMember collection 获取频道中的成员。Get a member in a channel.
更新频道成员角色Update channel member's role conversationMemberconversationMember 更新频道成员的属性。Update the properties of a member of the channel. 仅支持 membershipType 为 private 的频道。Only supported for channel with membershipType of private.
删除频道成员Remove channel member None 从频道中删除一个成员。Delete a member from a channel. 仅支持用于 privatechannelTypeOnly supported for channelType of private.
列出聊天成员List chat members conversationMember 集合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 conversationMemberconversationMember 获取聊天中的成员。Get a member in a chat.
删除聊天成员Remove chat member None 从聊天中删除成员。Remove a member from a chat.

属性Properties

属性Property 类型Type 说明Description
idid 字符串String 只读。Read-only. 用户的唯一 ID。Unique ID of the user.
displayNamedisplayName stringstring 用户的显示名称。The display name of the user.
角色roles string 集合string collection 该用户的角色。The roles for that user.
userIduserId stringstring 用户的 GUID。The guid of the user.
emailemail stringstring 用户的电子邮件地址。The email address of the user.
tenantIdtenantId stringstring Azure AD 用户从属的 TenantId。TenantId which the Azure AD user belongs to.
visibleHistoryStartDateTimevisibleHistoryStartDateTime DateTimeOffsetDateTimeOffset 表示对话历史久远程度的时间戳与对话成员共享。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 表示形式JSON representation

下面是资源的 JSON 表示形式。The following is a JSON representation of the resource.

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