authenticatedUserId property
The id of an authenticated user associated with this session. The user id is only set if it has been requested during the session. This means that it can be null, even though the session was performed by an authenticated user.
Implementation
int? authenticatedUserId;