Subject | howto: Save and Reuse Login Information |
---|---|
Author | Gary Holbrook |
Post date | 2002-06-17T22:06:33Z |
I searched the list for login/TIB_Connection/Connection but did not find
anything to help me... So if someone could point me in the right direction,
I would be quite pleased!
When a user logs into the app correctly, I would like to capture the
username and role to write those to the registry.
When the app starts up again, I would like to populate the TIB_Connection
with the saved username and role values for the user. I'll save the values
in the registry under HKEY_CURRENTUSER, that's not a problem...
Where and when is the best place to get the values used on a successful
login?
And where and when is the best place to put them so they show up in the
login dialog?
We're using:
D6 Pro
IBO 4.2.Ha
TIB_Connection.LoginPrompt := TRUE
Thanx,
G
Gary Holbrook
NIS Corp.
anything to help me... So if someone could point me in the right direction,
I would be quite pleased!
When a user logs into the app correctly, I would like to capture the
username and role to write those to the registry.
When the app starts up again, I would like to populate the TIB_Connection
with the saved username and role values for the user. I'll save the values
in the registry under HKEY_CURRENTUSER, that's not a problem...
Where and when is the best place to get the values used on a successful
login?
And where and when is the best place to put them so they show up in the
login dialog?
We're using:
D6 Pro
IBO 4.2.Ha
TIB_Connection.LoginPrompt := TRUE
Thanx,
G
Gary Holbrook
NIS Corp.