Results 1 to 4 of 4
  1. #1
    Join Date
    Feb 2004
    Posts
    1

    Unanswered: List of users + roles + rights

    How can I generate a list/view of all users/groups with appropriate roles and rigths?

  2. #2
    Join Date
    Aug 2002
    Location
    Scotland
    Posts
    1,578
    SP_HELPROTECT list all the information in the database.
    --Satya SKJ
    Microsoft SQL Server MVP
    [IMG]http://sqlserver-qa.net/google_bart.gif[/IMG]

  3. #3
    Join Date
    Sep 2004
    Posts
    8

    how to find out the roles of a user

    Hi,
    Can someone please let me know if there is some way to find out the roles of a user in SQL server 2000?
    The sysusers table has a column called roles that stores a bit set for every role associated with the user. But given a user name / uid how to find out all the roles (role ids will do) associated with that user?
    Please help ... its urgent.
    Thanks for your time,
    Sayali

  4. #4
    Join Date
    Feb 2004
    Location
    In front of the computer
    Posts
    15,579
    Provided Answers: 54
    In SQL-2000, this is stored in sysmembers.

    -PatP

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •