RemoteExecutionContext.InitiatingUserId Property

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

Gets the global unique identifier of the system user account under which the current pipeline is executing.

Namespace:   Microsoft.Xrm.Sdk
Assembly:  Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)

Syntax

[DataMemberAttribute]
public Guid InitiatingUserId { get; set; }
<DataMemberAttribute>
Public Property InitiatingUserId As Guid

Property Value

Type: System.Guid

Type: Guid
The global unique identifier of the system user account.

Implements

IExecutionContext.InitiatingUserId

Remarks

This property corresponds to the SystemUserId property, which is the primary key for the SystemUser entity.

See Also

RemoteExecutionContext Class
Microsoft.Xrm.Sdk Namespace
Impersonation in plug-ins
User and team entities

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright