共享 资源指示 DriveItem 已与他人共享。 此资源包括有关如何共享项的信息。
如果 DriveItem 具有非 NULL 共享 facet,则该项已共享。
JSON 表示形式
{
"owner": { "@odata.type": "microsoft.graph.identitySet" },
"scope": "anonymous | organization | users",
"sharedBy": { "@odata.type": "microsoft.graph.identitySet" },
"sharedDateTime": "datetime"
}
属性
| 属性 | 类型 | 说明 |
|---|---|---|
| 所有者 | IdentitySet | 共享项的所有者的身份。 只读。 |
| scope | String | 指示该项共享方式的范围:anonymous、organization 或 users。 只读。 |
| sharedBy | identitySet | 共享项的用户的标识。 只读。 |
| sharedDateTime | DateTimeOffset | 共享项目的 UTC 日期和时间。 只读。 |
范围选项
| 值 | 说明 |
|---|---|
anonymous |
使用对任何人都有效的链接共享项。 |
organization |
使用对所有者组织内的任何人都有效的链接共享项。 |
users |
仅与特定的用户共享项。 |
注解
有关 driveItem 上 facet 的详细信息,请参阅 driveItem。
SharePoint Server 2016 不支持 Shared Facet。