WarningA MobiLink user name uniquely identifies a remote database. Therefore, two different remote databases must have different MobiLink user names. |
To add users to the remote database, you have the following options:
For Adaptive Server Anywhere remotes, use Sybase Central or the CREATE SYNCHRONIZATION USER statement.
For more information, see Adding MobiLink users to a remote database.
For UltraLite remotes, you can use the user_name field of the ul_synch_info structure. In Java, use the SetUserName() method of the ULSynchInfo class before synchronizing.
For more information, see User Name synchronization parameter and Password synchronization parameter.
Once user names are created on the remote database, you can use any of the following methods to register the user names in the consolidated database:
Use the dbmluser utility.
For more information, see MobiLink user authentication utility.
Use Sybase Central.
Implement a script for the authenticate_user or authenticate_user_hashed events. When either of these scripts are invoked, the MobiLink synchronization server automatically adds users that successfully authenticate.
Specify the -zu+ command line option with dbmlsrv9. In this case, any existing MobiLink users that have not been added to the consolidated database are added when they first synchronize.
For more information, see -zu option.
SQL Anywhere Studio 9.0.2
Copyright © 1989–2004 Sybase, Inc. Portions copyright © 2001–2004 iAnywhere Solutions, Inc. All rights reserved.