WhoAmIResponse.UserId Property

 

Applies To: Dynamics CRM 2015

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:
property Guid UserId {
    Guid get();
}
member UserId : Guid with 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

© 2016 Microsoft. All rights reserved. Copyright