Поделиться через


RemoteExecutionContext.UserId Property

 

Applies To: Dynamics CRM 2015

Gets the global unique identifier 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

[DataMemberAttribute]
public Guid UserId { get; set; }
public:
[DataMemberAttribute]
property Guid UserId {
    virtual Guid get() sealed;
    virtual void set(Guid value) sealed;
}
[<DataMemberAttribute>]
abstract UserId : Guid with get, set
[<DataMemberAttribute>]
override UserId : Guid with get, set
<DataMemberAttribute>
Public Property UserId As Guid

Property Value

Type: System.Guid

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

Implements

IExecutionContext.UserId

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
User and team entities

Return to top

© 2016 Microsoft. All rights reserved. Copyright