home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / database / sybase / 289 < prev    next >
Encoding:
Internet Message Format  |  1992-11-10  |  1.2 KB

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