Internet Direct (Indy) Version 9.0.1 Beta
MClientThread.UserId
Represents the user identification number for the thread instance.

UserId: Integer;
Description
UserId is an Integer member that represents the arbitrary user identification number assigned to a client connection on the tunnel server. UserId is used to identify a particular MClientThread association desired in TIdTunnelMaster.GetClientThread. UserId is also used in the construction of the TIdHeader encapsulation headers for the tunnel connection in Execute.