WhoAmIResponse.UserId Property

Definition

Gets the ID of the user who is logged on.

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

Property Value

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 User (SystemUser) entity.

Applies to