IExecutionContext.InitiatingUserId Property    
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 : GuidPublic ReadOnly Property InitiatingUserId As GuidProperty 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.