USERS TO BLOB / BLOB TO USERS execution context


4D v16R5:-

We were expecting to be able to call this command from a stored procedure running on 4D Server, but we get a privilege error.

The docs say you have to be Designer or Administrator, so perhaps that’s fair enough.

We also use these commands in “On Server Startup” and “On Server Shutdown” for hopefully obvious reasons. Is the execution context of these two database methods different in allowing these commands? If it isn’t then I don’t understand how these commands are helpful.

The reason we wanted to do a USERS TO BLOB in a stored procedure as well, is to keep the data BLOB as up to date as possible, in case of server crash.

Any insights appreciated.

Many thanks.