WhoAmIResponse.UserId Property
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online
Gets the ID of the user who is logged on.
Namespace: Microsoft.Crm.Sdk.Messages
Assembly: Microsoft.Crm.Sdk.Proxy (in Microsoft.Crm.Sdk.Proxy.dll)
Syntax
public Guid UserId { get; }
Public ReadOnly Property UserId As Guid
Property Value
Type: System.Guid
Type: Guid
The ID of the user who is currently logged on or the user under whose context the executed code is running. This corresponds to the SystemUser.SystemUserId attribute, which is the primary key for the SystemUser entity.
See Also
WhoAmIResponse Class
Microsoft.Crm.Sdk.Messages Namespace
Return to top
Microsoft Dynamics 365
© 2016 Microsoft. All rights reserved. Copyright