userSource 资源类型

命名空间:microsoft.graph.ediscovery

重要

Microsoft Graph /beta 版本下的 API 可能会发生更改。 不支持在生产应用程序中使用这些 API。 若要确定 API 是否在 v1.0 中可用,请使用 版本 选择器。

保管人的邮箱和OneDrive for Business站点的容器。

方法

方法 返回类型 说明
列出 userSources microsoft.graph.ediscovery.userSource 集合 获取 userSource 对象及其属性的列表。
创建 userSource microsoft.graph.ediscovery.userSource 创建新的 userSource 对象。
获取 userSource microsoft.graph.ediscovery.userSource 读取 userSource 对象的属性和关系。
删除 userSource 删除 userSource 对象。

属性

属性 类型 说明
createdBy identitySet 创建 userSource 的用户。
createdDateTime DateTimeOffset 创建 userSource 的日期和时间
displayName String 与邮箱和站点关联的显示名称。
email String Email用户邮箱的地址。
id String userSource 的 ID。 这不是实际组的 ID
includedSources microsoft.graph.ediscovery.sourceType 指定此组中包含的源。 可取值为:mailboxsite
siteWebUrl String 用户OneDrive for Business网站的 URL。 此为只读属性。

sourceType 值

与用户相关的源类型。 默认情况下包括邮箱和站点。

成员 说明
邮箱 表示邮箱。
网站 表示OneDrive for Business网站。

关系

无。

JSON 表示形式

下面是资源的 JSON 表示形式。

{
  "@odata.type": "#microsoft.graph.ediscovery.userSource",
  "displayName": "String",
  "createdDateTime": "String (timestamp)",
  "createdBy": {
    "@odata.type": "microsoft.graph.identitySet"
  },
  "id": "String (identifier)",
  "email": "String",
  "includedSources": "String"
}