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 beginOnlineLogin method.
Use the SUPSynchronizationProfile to store the username and password.
SUPConnectionProfile *syncProfile = [SUP101SUP101DB getSynchronizationProfile]; 
[syncProfile setUser:@"user"];  
[syncProfile setPassword:@"password"]; 
[SUP101SUP101DB onlineLogin];