IExecutionContext.UserId Property

 

Applies To: Dynamics CRM 2015

Gets the GUID of the system user for whom the plug-in invokes web service methods on behalf of.

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

Syntax

Guid UserId { get; }
property Guid UserId {
    Guid get();
}
abstract UserId : Guid with get
ReadOnly Property UserId As Guid

Property Value

Type: System.Guid

Type: Guid
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.

See Also

IExecutionContext Interface
Microsoft.Xrm.Sdk Namespace
User and team entities

Return to top

© 2016 Microsoft. All rights reserved. Copyright