auditActivityInitiator 资源类型auditActivityInitiator resource type

命名空间:microsoft.graphNamespace: microsoft.graph

标识启动活动的资源对象。Identity the resource object that initiates the activity. 发起方可以是用户、应用程序或系统 (,它被视为应用程序) 。The initiator can be a user, an app, or a system (which is considered an app).

属性Properties

属性Property 类型Type 说明Description
应用程序app appIdentityappIdentity 如果启动活动的资源是一个应用程序,则此属性指示所有与应用程序相关的信息,如 appId、Name、servicePrincipalId、Name。If the resource initiating the activity is an app, this property indicates all the app related information like appId, Name, servicePrincipalId, Name.
useruser userIdentityuserIdentity 如果启动活动的资源是用户,则此属性指示与用户相关的所有信息,如 userId、Name、UserPrinicpalName。If the resource initiating the activity is a user, this property Indicates all the user related information like userId, Name, UserPrinicpalName.

JSON 表示形式JSON representation

下面是资源的 JSON 表示形式。Here is a JSON representation of the resource.

{
  "app": {"@odata.type": "microsoft.graph.appIdentity"},
  "user": {"@odata.type": "microsoft.graph.userIdentity"}
}