StrataFrame Forum

How to Log Out

http://forum.strataframe.net/Topic17996.aspx

By Geoff Hirst - 7/22/2008

Hi,

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

Login.LoginFormType = GetType(Alarm64_Login)

Login.ShowLoginAndAuthUser(True)

But if the exit button is clicked, the user drops back into the application.

I was kind of looking for a securitybasics.currentuser.logout?

thanks

Geoff.

By Trent L. Taylor - 7/22/2008

If you are using Role Based Security, then just lock the session locking:

MicroFour.StrataFrame.Security.Sessionlock.LockSession()

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.