Subject RE: [firebird-support] Telling if SYSDBA is logged on
Author Alan McDonald
> >Is there a property returned from a successful login which can
> report to the
> >application that the person logged on is the sysdba of the server?
> >If not, what is the quickest/least disturbing exception one
> could attempt to
> >test if this user is the sysdba?
>
> Why wouldn't you just read the username (variable/property/DPB parameter)
> that was passed for the connection?
>
> ./hb

yes - I was thinking that there was a possibility that someone could change
the username SYSDBA to something else. But I see now that that's not
possible (?).
You are told in GSEC docs that you have to delete a user and re-create one
if you ever want to change a username. I have never tried it but I imagine
that you get an exception if you ever tried to delete SYSDBA?
Alan