Knut Stolze wrote:
Brian Tkatch wrote:
I am wondering how to check for authorizations. I see DbAbmAuth in
SysCat.DbAuth to check for DbAbm priviliges. Is there a similar way to
check for SysAdm priviliges?
Also, SysCat.TabAuth has a GranteeType which can be a user or a group.
The user is stored in the the USER special register. How do i find out
what a user's group is?
Groups are managed by the security plugin that you are using. If you
haven't installed one yourself, the default is to rely on the underlying OS
for user and group management. That's where you will have to lookup which
groups (plural!) a user belongs to.
Yep. That's how its setup. We're using the underlying OS.
You could also write a simple table function (UDF) that extracts the group
information for a given user from whereever you store that information.
But that would not be standardized. I was hoping to find an "official"
way to do this.
Anyway, rhanx for the reply, Knut! I was just writing a script and
wanted to cover all the bases if i could (good habit to get into). But,
this does not seem important enough to me, given the way we have rights
set up (because AFAIK, we do not use groups).
Is SysAdm just root then?
B.