Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

IExecutionContext.UserId Property

Definition

Namespace:
Microsoft.Xrm.Sdk
Assembly:
Microsoft.Xrm.Sdk.dll
Package:
Microsoft.PowerPlatform.Dataverse.Client v1.2.10

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 for whom the plug-in invokes web service methods on behalf of.

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

Property Value

The GUID of the system user for whom the plug-in invokes web service methods on behalf of. This property corresponds to the SystemUserId property, which is the primary key for the SystemUser entity.

Applies to