dbsync_core.t_user_ident type
The t_user_ident
type defines a record that contains
DB Sync user identification when using the direct mode.
Syntax
TYPE t_user_ident RECORD
user_id dbsync_core.t_user_id,
user_auth dbsync_core.t_user_auth,
user_name dbsync_core.t_user_name
END RECORD
user_id
: Defines the unique user identifier (string).user_auth
: Defines the user password (in clear) when using the direct mode.user_name
: Containes the name of the user.
Usage
Define a variable of type t_user_ident
to hold user identification information
when using the DB Sync direct mode.
The user must be registered with the dbsync_app.register_dbsync_user()
function.
Example
DEFINE user_ident dbsync_core.t_user_ident
LET user_ident.user_id = "tom"
LET user_ident.user_auth = "fourjs"
CALL dbsync_app.register_dbsync_user(user_ident)