﻿<?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  » What is the usage of LoginSecurityKey?</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:35 GMT</lastBuildDate><ttl>20</ttl><item><title>What is the usage of LoginSecurityKey?</title><link>http://forum.strataframe.net/FindPost20886.aspx</link><description>Hi,&lt;br&gt;
May I know how to use this?&lt;br&gt;
&lt;br&gt;
Thank you</description><pubDate>Tue, 25 Nov 2008 06:57:31 GMT</pubDate><dc:creator>Chan</dc:creator></item><item><title>RE: What is the usage of LoginSecurityKey?</title><link>http://forum.strataframe.net/FindPost20889.aspx</link><description>Hi Chan.&lt;/P&gt;&lt;P&gt;It is meant as a permission key to allow the user to login into the application. Its purpose is to work with the Restrictions set. &lt;/P&gt;&lt;P&gt;So, in your security project you would create a key like "MyLoginKey", and in the AppMain.vb (program.cs if the case) ShowLoginAndInitMainForm, you would set the LoginSecurityKey:&lt;/P&gt;&lt;P&gt;[codesnippet]&lt;/P&gt;&lt;P&gt;'-- Set the permission required to login to the application&lt;BR&gt;Login.LoginSecurityKey = "MyLoginKey"&lt;BR&gt;[/codesnippet]&lt;/P&gt;&lt;P&gt;Then,&amp;nbsp;you would apply this key to your users, set restrictions to them (Monday to Friday, work hours, for example), and deny this Permission to them outside this scope.&lt;/P&gt;&lt;P&gt;So, they would only be allowed to login inside those days/hours.</description><pubDate>Tue, 25 Nov 2008 06:57:31 GMT</pubDate><dc:creator>Ivan George Borges</dc:creator></item></channel></rss>