Skip to main content

Posts

Showing posts with the label online users

Start Ax client in Single user mode MSDAX

To run Ax in single user mode you need to reject new user from online user form as following steps 1. Click Area Page node: Administration -> Online users. Form name: Online users Fig 1 2. Switch to the Server Instances tab on the Online users form. Fig 2 3. Click the Reject new clients button. Form name: Dialog Fig 3 4. Click the OK button. 5. Close the Online users form. Same as Fig 2 Accept New Client To Accept new user you can follow step 6 to 9 6. Click Area Page node: Administration -> Online users. Form name: Online users Same as Fig 2 7. Switch to the Server Instances tab on the Online users form. 8. Click the Accept new clients button. 9. Close the Online users form.

How to get No of users Online and sessions in MSD axapta

How to get No of users Online and sessions This job gives you the number of current online users. static void noofusersOnline(Args _args) { int maxSessions = Info::licensedUsersTotal(); userinfo userinfo; int counter; int num; xSession session; if (!maxSessions) //Demo mode maxSessions = 3; num = 0; for(counter = maxSessions;counter;counter--) { session = new xSession(counter, true); if(session && session.userId()) { select userinfo where userinfo.id == session.userId(); print userinfo.name; } } print "Maximum session id's in Axapta - ", xsession::maxSessionId(); pause; }

How to end client sessions in axapta

How to end client sessions in axapta  1. In the Online users form, click the Client Sessions tab. 2. Select the user sessions that you want to end (other than a single administrative user session), and then click End sessions. 3. In the End sessions window, click OK, and then click Close.