共用方式為


IExecutionContext.InitiatingUserId Property

Definition

Gets the GUID of the system user account under which the current pipeline is executing.

public:
 property Guid InitiatingUserId { Guid get(); };
public Guid InitiatingUserId { get; }
member this.InitiatingUserId : Guid
Public ReadOnly Property InitiatingUserId As Guid

Property Value

The GUID of the system user account under which the current pipeline is executing. This property corresponds to the SystemUserId property, which is the primary key for the SystemUser entity.

Applies to