Edit

Share via


policyUserScope resource type

Namespace: microsoft.graph

Defines the scope of a data governance policy as it applies to a specific user.

Returned from compute protection scopes.

Inherits from policyScopeBase.

Properties

Property Type Description
activities microsoft.graph.security.userActivityTypes Flags specifying the user activities the calling application supports or is interested. Possible values are none, uploadText, uploadFile, downloadText, downloadFile, unknownFutureValue. Required. This object is a multi-valued enumeration.
executionMode microsoft.graph.security.executionMode Policy execution mode for this user. Possible values are evaluateInline and evaluateOffline. Inherited from policyScopeBase. Inline evaluation requires caller to wait for API response before allowing user activity to proceed. Required.
locations Collection(microsoft.graph.policyLocation) Locations protected for this user. Inherited from policyScopeBase. Required.
policyActions Collection(microsoft.graph.dlpActionInfo) Enforcement actions applicable to this user. Inherited from policyScopeBase. Required.

Relationships

None.

JSON representation

The following JSON representation shows the resource type.

{
  "@odata.type": "#microsoft.graph.policyUserScope",
  "activities": "String",
  "executionMode": "String",
  "locations": [
    {
      "@odata.type": "microsoft.graph.policyLocation"
    }
  ],
  "policyActions": [
    {
      "@odata.type": "microsoft.graph.dlpActionInfo"
    }
  ]
}