﻿<?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 » Role Based Security  » How to Log Out</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Tue, 09 Jun 2026 01:51:29 GMT</lastBuildDate><ttl>20</ttl><item><title>How to Log Out</title><link>http://forum.strataframe.net/FindPost17996.aspx</link><description>Hi,&lt;/P&gt;&lt;P&gt;I need a way to be able to log out back to my login form, that requires the user to login again. I have used the following code&lt;/P&gt;&lt;FONT size=2&gt;&lt;P&gt;Login.LoginFormType = &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;GetType&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;(Alarm64_Login)&lt;/P&gt;&lt;P&gt;Login.ShowLoginAndAuthUser(&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;True&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size=2&gt;But if the exit button is clicked, the user drops back into the application.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size=2&gt;I was kind of looking for a securitybasics.currentuser.logout?&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size=2&gt;thanks&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size=2&gt;Geoff.&lt;/P&gt;&lt;/FONT&gt;</description><pubDate>Tue, 22 Jul 2008 09:21:36 GMT</pubDate><dc:creator>Geoff Hirst</dc:creator></item><item><title>RE: How to Log Out</title><link>http://forum.strataframe.net/FindPost18001.aspx</link><description>If you are using Role Based Security, then just lock the session locking:&lt;/P&gt;&lt;P&gt;[codesnippet]MicroFour.StrataFrame.Security.Sessionlock.LockSession()[/codesnippet]&lt;/P&gt;&lt;P&gt;You can look at the docs for more details, but that is the approach that you would want to take as this takes security and the app into account.</description><pubDate>Tue, 22 Jul 2008 09:21:36 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>