Edit

Share via


policyUserScope resource type

Namespace: microsoft.graph

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.

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. 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"
    }
  ]
}