Login.LoginResult


Author
Message
Tim Dol
Tim Dol
Advanced StrataFrame User (666 reputation)Advanced StrataFrame User (666 reputation)Advanced StrataFrame User (666 reputation)Advanced StrataFrame User (666 reputation)Advanced StrataFrame User (666 reputation)Advanced StrataFrame User (666 reputation)Advanced StrataFrame User (666 reputation)Advanced StrataFrame User (666 reputation)Advanced StrataFrame User (666 reputation)
Group: Forum Members
Posts: 340, Visits: 1.4K
I need to execute some initialization code in the AppMain to check if the user has exceeded licensed user count , but only if the user successfully logs in, so in the AppMain, just after e.ShowMainForm = Login.ShowLoginAndAuthUser(True), I want to test to see if the login was successful.  I see there is an enum type for Login.LoginResult, however I can seem to test this value and get the desired results.

if Login.LoginResult.Success Then

'Do initialization Stuff...

End If

Any idea's?  Also, is this the best place to add this type of initialization code?

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