﻿<?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  » Login form.</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 15:41:23 GMT</lastBuildDate><ttl>20</ttl><item><title>Login form.</title><link>http://forum.strataframe.net/FindPost3550.aspx</link><description>How do I use the built-in login form?</description><pubDate>Fri, 13 Oct 2006 10:25:04 GMT</pubDate><dc:creator>Jason Holden</dc:creator></item><item><title>RE: Login form.</title><link>http://forum.strataframe.net/FindPost3556.aspx</link><description>Just to expand on Trent's post: &lt;br&gt;
&lt;br&gt;
To show the default login form, you may call the [b]Login.ShowLoginAndAuthUser()[/b] method, which is found within the [b]MicroFour.StrataFrame.Security[/b] namespace.  The method accepts a Boolean parameter to determine whether or not to show the Cancel button on the form.  &lt;br&gt;
&lt;br&gt;
Typically, this method is called within the ShowLoginAndInitMainForm() method found in AppMain.vb (Visual Basic) or program.cs (C#):&lt;br&gt;
&lt;br&gt;
Private Shared Sub ShowLoginAndInitMainForm(ByVal e As ShowLoginAndInitFormEventArgs)&lt;br&gt;
    '-- Show the login form and authenticate the user&lt;br&gt;
    e.ShowMainForm = Login.ShowLoginAndAuthUser(True)&lt;br&gt;
End Sub&lt;br&gt;
&lt;br&gt;
For more info, the help download currently available under the My Account area has a topic on Showing the Initial Login form (Programmatic Access-&gt;Required AppMain.vb(Program.cs) Code), as well as a topic on Creating a Custom Login Form.  &lt;br&gt;
&lt;br&gt;
The next help update will have a set of topics on the Login form class' Methods, Properties, and the LoginResult enumeration.</description><pubDate>Fri, 13 Oct 2006 10:25:04 GMT</pubDate><dc:creator>Dustin Taylor</dc:creator></item><item><title>RE: Login form.</title><link>http://forum.strataframe.net/FindPost3553.aspx</link><description>The latest update on the website actually has a template to help you build a custom logon form.&amp;nbsp; The template was posted on the 9th so if you have not installed since then, download the latest version and the template will be available once you install.&amp;nbsp; Just go to the My Account area of the website to get the latest version.</description><pubDate>Thu, 12 Oct 2006 20:39:20 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>