Adding a User to the Security Database Using the Services API
You can create a new user in the InterBase security database using the cluster identifier isc_action_svc_add_user
. The first argument in the cluster must be isc_spb_sec_username. The following table lists arguments to this cluster:
Argument | Purpose | Argument length | Argument value |
---|---|---|---|
|
User name to create; maximum 31 characters; mandatory argument, must be the first parameter |
2 byte length + string |
String |
|
Password for the user; maximum 31 characters, only first 8 characters are significant; mandatory argument |
2 byte length + string |
String |
|
Optional first name of the person using this user name |
2 byte length + string |
String |
|
Optional middle name of the person using this user name |
2 byte length + string |
String |
|
Optional last name of the person using this user name |
2 byte length + string |
String |
|
Optional user ID number, defined in |
4 bytes |
Unsigned long |
|
Optional group ID number, defined in |
4 bytes |
Unsigned long |
|
Optional group name, as defined in |
2 byte length + string |
String |
|
Optional SQL role to adopt when administering users (reserved for future use) |
2 byte length + string |
String |