shared resource type
Namespace: microsoft.graph
The shared resource indicates a driveItem has been shared with others. The resource includes information about how the item is shared.
If a driveitem has a non-null shared facet, the item has been shared.
JSON representation
{
"owner": { "@odata.type": "microsoft.graph.identitySet" },
"scope": "anonymous | organization | users",
"sharedBy": { "@odata.type": "microsoft.graph.identitySet" },
"sharedDateTime": "datetime"
}
Properties
Property | Type | Description |
---|---|---|
owner | IdentitySet | The identity of the owner of the shared item. Read-only. |
scope | String | Indicates the scope of how the item is shared: anonymous , organization , or users . Read-only. |
sharedBy | identitySet | The identity of the user who shared the item. Read-only. |
sharedDateTime | DateTimeOffset | The UTC date and time when the item was shared. Read-only. |
Scope options
Value | Description |
---|---|
anonymous |
The item is shared by using a link that works for anyone with the link. |
organization |
The item is shared by using a link that works for anyone in the owner's organization. |
users |
The item is shared with specific users only. |
Remarks
For more information about the facets on a driveItem, see driveItem.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for