userSource resource type

Namespace: microsoft.graph.security

Important

APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.

The container for a user's mailbox and OneDrive for Business site.

Inherits from dataSource.

Methods

None.

Properties

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.
email String Email address of the user's mailbox.
id String The ID of the userSource. This isn't the ID of the actual group.
includedSources microsoft.graph.security.sourceType Specifies which sources are included in this group. Possible values are: mailbox, site.
siteWebUrl String The URL of the user's OneDrive for Business site. Read-only.
holdStatus microsoft.graph.security.dataSourceHoldStatus The hold status of the userSource. The possible values are: notApplied, applied, applying, removing, partial.

userSourceHoldStatus values

Name Description
notApplied The userSource isn't on hold (all sources in it aren't on hold).
applied The userSource is on hold (all sources are on hold).
applying The userSource is in applying hold state (applyHold operation triggered).
removing The userSource is in removing the hold state (removeHold operation triggered).
partial The userSource is in mixed state where some sources are on hold and some not on hold or error state.

Relationships

None.

JSON representation

The following JSON representation shows the resource type.

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