TUsers.UserRecord


 

Applies to
TUsers

 

Declaration
property UserRecord[Index: Integer]: UserRecord;

 

Description
This is the default property of the
AstaServerSocket.UserList and allows access to UserName, ApplicationName, ConnectTime and a scratch TAstaParamList either by index, remote address and port or using the client socket as a lookup.

 

Example

with AstaServerSocket1.UserList do begin

  with UserRecord[IndexofSocket(ClientSocket)] do begin

    ShowMesage(UserName + #13 + AppName + #13 +
      DateTimeToStr(FConnectTime));

  end;

end;

 

 

 



ASTA Overview TUsers.SocketFromUserName TUtilInfoType