home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!ukma!darwin.sura.net!zaphod.mps.ohio-state.edu!cs.utexas.edu!bcm!mparsons
- From: mparsons@fleming.csc.bcm.tmc.edu (Mark Parsons)
- Newsgroups: comp.databases.sybase
- Subject: Re: need help on user groups
- Date: 10 Nov 1992 23:00:02 GMT
- Organization: Baylor College of Medicine, Houston, Tx
- Lines: 16
- Distribution: world
- Message-ID: <1dpetiINNm64@gazette.bcm.tmc.edu>
- References: <1992Nov10.183141.20481@cognet.ucla.edu>
- Reply-To: mparsons@fleming.csc.bcm.tmc.edu (Mark Parsons)
- NNTP-Posting-Host: fleming.csc.bcm.tmc.edu
- Originator: mparsons@fleming.csc.bcm.tmc.edu
-
-
- In article <1992Nov10.183141.20481@cognet.ucla.edu>, yeo@inherit2.dna.ucla.edu (Simon Yeo) writes:
- |> The SQL server gives the current user name if you type "select user_name()".
- |> Is there a way I can get the group name of the current user?
- |>
-
- I don't have my DBA guide handy right now . . but look up info on
- the sysusers table. It has your user entries as well as group
- entries . . you should be able to hit against this table to get
- the name of the associated group.
-
- Let me know if you still can't find it . . . by then I should
- have found my book . . . . .
-
- Mark "Is it Friday, yet!??!" Parsons
-
-