Subject | RE: [firebird-support] How to get CURRENT_USER? |
---|---|
Author | Alan McDonald |
Post date | 2005-02-14T20:47:12Z |
> I want to insert a record into a table whenever a user runs an app for theit's USER
> first time. To check this, I want to see if there is a record
> containing the
> name of the app and the name of the user. How can I retrieve the
> CURRENT_USER context variable so that I can pass that as an arg to see if
> such a record exists?
>
>
>
> IOW, I want to do something like:
>
>
>
> If IsFirstTimeUser(AAppName, AUserName: String) then
>
> InsertRecord(AUserName, etc.)
>
>
>
> The AUserName arg to passed should be CURRENT_USER.
>
>
>
> Clay Shannon,
Alan