Источник:
http://blogs.bojensen.eu/?p=4766
==============
Copy Paste the Following Code in startupPost method of info class in AOT void startupPost(){ // To restrict user login form second login xSession session; SysClientSessions SysClientSessions; UserId currentUserId; int counter; ; currentUserId = curUserId(); if(currentUserId!=”Admin”) // Allow Admin User to login multiple time { while select SysClientSessions where SysClientSessions.userId == currentUserId && SysClientSessions.Status […]
Источник:
http://blogs.bojensen.eu/?p=4766