UseSavedNames Property
Windows - Visual C++
Description
The UseSavedNames property, when
set to TRUE, stores and uses the values of the Password, Server, and
Username properties.
Syntax
BOOL value = GetUseSavedNames();
void SetUseSavedNames(BOOL value);
Value
1 if the username, password and
server stored in the .ini file or Windows registry should be used to
logon and 0 if not.
Remarks
When the UseSavedNames property is
set to TRUE, the values of the Username, Server, and possibly
Password are saved to the .ini file or Windows registry after a
successful connection has been made. Then at the next logon attempt,
if UseSavedNames is still set to TRUE, these values will be loaded
from the .ini file or Windows registry.You need to set UseSavedNames
prior to calling the Logon method or the ShowLogon method.
If the UseSavedNames property is set to TRUE, then the "Remember my password" checkbox appears in the ShowLogon dialog box. If the user checks "Remember my password," then the user's password is saved as well and the SavePassword property is set to TRUE.
Back to: Connect Properties