WhoAmIResponse.UserId Property
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.