Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.0 » UltraLite - Database Management and Reference » UltraLite as a MobiLink Client » UltraLite synchronization parameters and network protocol options » Synchronization parameters for UltraLite

 

User Name synchronization parameter

Required. A string that the MobiLink server uses for authentication purposes.

Syntax

The syntax varies depending on the API you use. You can also set this parameter with ulsync.

Remarks

This parameter is required. Empty strings and NULL strings are universally rejected.

The parameter has no default value, and must be explicitly set.

The user name does not have to be unique when a remote ID is used. See Remote IDs.

This MobiLink user name and password are separate from any database user ID and password, and serves only to identify and authenticate the application to the MobiLink server. See Password synchronization parameter.

For a user to be part of a synchronization system, you must register the user name with the MobiLink server. The user name is stored in the name column of the ml_user MobiLink system table in the consolidated database.

See also
Examples

ulsync can set this parameter as an extended synchronization parameter as follows:

ulsync -c DBF=myuldb.udb "MobiLinkUid=remoteA;ScriptVersion=2;Stream=http"

UltraLite for C/C++ applications can set the parameter as follows:

ul_synch_info info;
// ...
info.user_name= UL_TEXT( "remoteA" );