| title | userSource resource type |
|---|---|
| description | The container for a custodian's mailbox and OneDrive for Business site. |
| author | mahage-msft |
| ms.localizationpriority | medium |
| ms.subservice | ediscovery |
| doc_type | resourcePageType |
| ms.date | 07/22/2024 |
Namespace: microsoft.graph.ediscovery
[!INCLUDE beta-disclaimer]
[!INCLUDE ediscovery-deprecation]
The container for a custodian's mailbox and OneDrive for Business site.
| Method | Return type | Description |
|---|---|---|
| List userSources | microsoft.graph.ediscovery.userSource collection | Get a list of the userSource objects and their properties. |
| Create userSource | microsoft.graph.ediscovery.userSource | Create a new userSource object. |
| Get userSource | microsoft.graph.ediscovery.userSource | Read the properties and relationships of a userSource object. |
| Delete userSource | None | Delete a userSource object. |
| Property | Type | Description |
|---|---|---|
| createdBy | identitySet | The user who created the userSource. |
| createdDateTime | DateTimeOffset | The date and time the userSource was created |
| displayName | String | The display name associated with the mailbox and site. |
| String | Email address of the user's mailbox. | |
| id | String | The ID of the userSource. This is not the ID of the actual group |
| includedSources | microsoft.graph.ediscovery.sourceType | Specifies which sources are included in this group. The possible values are: mailbox, site. |
| siteWebUrl | String | The URL of the user's OneDrive for Business site. Read-only. |
Types of source related to the user. Includes mailbox and site by default.
| Member | Description |
|---|---|
| mailbox | Represents a mailbox. |
| site | Represents a OneDrive for Business site. |
None.
The following JSON representation shows the resource type.
{
"@odata.type": "#microsoft.graph.ediscovery.userSource",
"displayName": "String",
"createdDateTime": "String (timestamp)",
"createdBy": {
"@odata.type": "microsoft.graph.identitySet"
},
"id": "String (identifier)",
"email": "String",
"includedSources": "String"
}