Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Login form pre hook
Message
From
06/03/2007 21:42:24
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
 
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
01199014
Message ID:
01201336
Views:
16
>You could put this code in your form's constructor (to get a list of users):


public UserLoginForm()
{
InitializeComponent();
this.UserIDConnect = "sa"; // You only need something like this if using SQL Server auth

DataSet ds = mmAppBase.SecurityMgr.oUser.GetAllUsers();
}


I was thinking the documentation indicated this.UserIdConnect = .. needed to go before InitializeComponent() presumably to allow any data bound controls to get setup. I was trying to figure out where in the process this.UserIDConnect was actually used. Thanks for your help, I shall go back and get this part working now.

Tim
Timothy Bryan
Previous
Reply
Map
View

Click here to load this message in the networking platform