Login form.


Author
Message
Dustin Taylor
Dustin Taylor
StrataFrame Team Member (938 reputation)
Group: StrataFrame Users
Posts: 364, Visits: 771
Just to expand on Trent's post:



To show the default login form, you may call the Login.ShowLoginAndAuthUser() method, which is found within the MicroFour.StrataFrame.Security namespace. The method accepts a Boolean parameter to determine whether or not to show the Cancel button on the form.



Typically, this method is called within the ShowLoginAndInitMainForm() method found in AppMain.vb (Visual Basic) or program.cs (C#):



Private Shared Sub ShowLoginAndInitMainForm(ByVal e As ShowLoginAndInitFormEventArgs)

'-- Show the login form and authenticate the user

e.ShowMainForm = Login.ShowLoginAndAuthUser(True)

End Sub



For more info, the help download currently available under the My Account area has a topic on Showing the Initial Login form (Programmatic Access->Required AppMain.vb(Program.cs) Code), as well as a topic on Creating a Custom Login Form.



The next help update will have a set of topics on the Login form class' Methods, Properties, and the LoginResult enumeration.
Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 7K
The latest update on the website actually has a template to help you build a custom logon form.  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.  Just go to the My Account area of the website to get the latest version.
Jason Holden
Jason Holden
StrataFrame Beginner (15 reputation)StrataFrame Beginner (15 reputation)StrataFrame Beginner (15 reputation)StrataFrame Beginner (15 reputation)StrataFrame Beginner (15 reputation)StrataFrame Beginner (15 reputation)StrataFrame Beginner (15 reputation)StrataFrame Beginner (15 reputation)StrataFrame Beginner (15 reputation)
Group: Forum Members
Posts: 5, Visits: 9
How do I use the built-in login form?
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search