Use this statement in a SQL Anywhere remote database to create a MobiLink user.
CREATE SYNCHRONIZATION USER ml_username [ TYPE network-protocol ] [ ADDRESS protocol-options ] [ OPTION option=value, ... ]
network-protocol : tcpip | http | https | tls
protocol-options : string
value: string | integer
ml_username A name identifying a MobiLink user.
For more information about MobiLink users, see Introduction to MobiLink users.
For more information about communication protocols, see CommunicationType (ctp) extended option.
ADDRESS clause This clause specifies protocol-options in the form keyword=value, separated by semi-colons. Which settings you supply depends on the communication protocol you are using (TCPIP, TLS, HTTP, or HTTPS).
For a complete list of protocol options, see MobiLink client network protocol option summary.
The values for each option cannot contain equal signs or semicolons. The database server accepts any option that you enter without checking for its validity. Therefore, if you misspell an option or enter an invalid value, no error message appears until you run the dbmlsync command to perform synchronization.
Options set for a synchronization user can be overridden in individual subscriptions or on the dbmlsync command line.
For information about extended options, see MobiLink SQL Anywhere client extended options.The network-protocol, protocol-options, and options can be set in several places.
For information about how dbmlsync processes options that are specified in different locations, see Priority order.
This statement causes options and other information to be stored in the SQL Anywhere ISYSSYNC system table. Anyone with DBA authority for the database can view the information, which could include passwords and encryption certificates. To avoid this potential security issue, you can specify the information on the dbmlsync command line.
See dbmlsync syntax.
Must have DBA authority.
SQL/2003 Vendor extension.
The following example creates a MobiLink user named SSinger, who synchronizes over TCP/IP with a server computer named mlserver.mycompany.com using the password Sam. The use of a password in the user definition is not secure.
CREATE SYNCHRONIZATION USER SSinger TYPE http ADDRESS 'host=mlserver.mycompany.com' OPTION MobiLinkPwd='Sam';
|Send feedback about this page via email or DocCommentXchange||Copyright © 2008, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.0|