Question
Started by Christopher Kings-Lynneover 23 years ago2 messages
How do I find the current username a query is running as from within the
backend? I'm thinking of improving the permission denied errors a bit...
I see GetUserId(), but how do I get a char* of the username...
Chris
Re: Question
On Thu, Aug 01, 2002 at 10:09:11AM +0800, Christopher Kings-Lynne wrote:
How do I find the current username a query is running as from within the
backend? I'm thinking of improving the permission denied errors a bit...I see GetUserId(), but how do I get a char* of the username...
Checking the code for current_user, I see GetUserName(), which takes a
UserID and returns the username, as a char *.
Ross