int permstexis(DDIC *ddic, char *user, char *password);
This enables the Texis security on the open database. Note that once permissions have been set on a database they can't be changed without closing and reopening the database.
The program must be running as a user id that has full permissions on the database, to be able to access the files and security tables. Once this call has been executed the user will have the permissions as granted through Texis to that user name.
Returns 0 on success and -1 on failure.