﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » Business Objects and Data Access (How do I?)  » check active user login and kick user out from system</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Fri, 17 Apr 2026 17:11:22 GMT</lastBuildDate><ttl>20</ttl><item><title>check active user login and kick user out from system</title><link>http://forum.strataframe.net/FindPost30708.aspx</link><description>Hi all,&lt;br/&gt;&lt;br/&gt;I want to check whom user are log in to the system and next step i want to kick them out from system.&lt;br/&gt;I want to know how strataframe manage to do it for this situation.&lt;br/&gt;&lt;br/&gt;please advice&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;USING (VB.NET 2010/SQL SERVER 2008)</description><pubDate>Fri, 16 Dec 2011 03:31:07 GMT</pubDate><dc:creator>Diu King,Tiong</dc:creator></item><item><title>RE: check active user login and kick user out from system</title><link>http://forum.strataframe.net/FindPost30719.aspx</link><description>You're welcome. &lt;span&gt;:cool:&lt;/span&gt;</description><pubDate>Fri, 16 Dec 2011 03:31:07 GMT</pubDate><dc:creator>Ivan George Borges</dc:creator></item><item><title>RE: check active user login and kick user out from system</title><link>http://forum.strataframe.net/FindPost30716.aspx</link><description>Thanks Ivan for you sharing</description><pubDate>Thu, 15 Dec 2011 18:53:41 GMT</pubDate><dc:creator>Diu King,Tiong</dc:creator></item><item><title>RE: check active user login and kick user out from system</title><link>http://forum.strataframe.net/FindPost30715.aspx</link><description>Yep, that is one way of doing it, but as Edhy said, if your application crashes you will end up with wrong information. If you guys decide to stay with the "table" solution, maybe you could implement a timer on the application that would keep saving the current time to the logon record every, let's say, 30 seconds. Then you could write a service application that would also have a timer checking that same table and deleting the records which "time" column were older than a minute or something like that. So if your application crashes and stop updating its logon record, the service will take care of it. Of course your machines would have to be with their clocks synchronized.&lt;br/&gt;&lt;br/&gt;Over here I have implemented the chat like solution, where the service application talks to the workstations and keep a list of alive logged users. Here is a good thread to give you some ideas:&lt;br/&gt;&lt;br/&gt;&lt;a href="http://forum.strataframe.net/FindPost21310.aspx"&gt;http://forum.strataframe.net/FindPost21310.aspx&lt;/a&gt;</description><pubDate>Wed, 14 Dec 2011 05:43:29 GMT</pubDate><dc:creator>Ivan George Borges</dc:creator></item><item><title>RE: check active user login and kick user out from system</title><link>http://forum.strataframe.net/FindPost30714.aspx</link><description>Hi Edhy,&lt;br/&gt;&lt;br/&gt;Get your mean and thanks </description><pubDate>Wed, 14 Dec 2011 00:16:22 GMT</pubDate><dc:creator>Diu King,Tiong</dc:creator></item><item><title>RE: check active user login and kick user out from system</title><link>http://forum.strataframe.net/FindPost30713.aspx</link><description>Hi Tiong,&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;[quote][b]Diu King,Tiong (12/13/2011)[/b][hr]can i detect all who are the users access to the system within same network?[/quote]&lt;br/&gt;&lt;br/&gt;There is nothing in SF that will do that.&amp;nbsp; What I do is I have my own LoggedUsers table which I update when user log in/out and then I can know which one are logged.&amp;nbsp; I know it is not perfect in case the application crash, but so far SF framework is so stable that I have not had any crash notification by my users. &lt;span&gt;:)&lt;/span&gt;</description><pubDate>Tue, 13 Dec 2011 19:58:21 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item><item><title>RE: check active user login and kick user out from system</title><link>http://forum.strataframe.net/FindPost30712.aspx</link><description>HI Ivan,&lt;br/&gt;&lt;br/&gt;can i detect all who are the users access to the system within same network?</description><pubDate>Tue, 13 Dec 2011 19:39:17 GMT</pubDate><dc:creator>Diu King,Tiong</dc:creator></item><item><title>RE: check active user login and kick user out from system</title><link>http://forum.strataframe.net/FindPost30711.aspx</link><description>Hi Tiong.&lt;br/&gt;&lt;br/&gt;When you say system, are you talking about your application? If so, you can find out many properties about the CurrentUser using the MicroFour.StrataFrame.SecurityBasics. &lt;br/&gt;&lt;br/&gt;As for kicking him off, there are many things to be considered like closing all forms nicely and so on. But I guess you will end your application and for that you could use END, Environment.Exit(-1) or even System.Windows.Forms.Application.Exit(), depending on the kind of application you are talking about.</description><pubDate>Tue, 13 Dec 2011 04:21:52 GMT</pubDate><dc:creator>Ivan George Borges</dc:creator></item></channel></rss>