Logging In

Use online authentication with the server.

Normally, the user is authenticated through the RegisterApplication and StartConnection methods in the Application class. Once this is done there is no need to authenticate again. However, the user can authenticate directly with the server at any time during the application's execution by calling the generated database instance's OnlineLogin method.
Use the SynchronizationProfile to store the username and password.
ConnectionProfile syncProfile = SUP101DB.GetSynchronizationProfile();
syncProfile.UserName = "user";
syncProfile.Password = "password";
SUP101DB.OnlineLogin();