Re: Roles and permissions



Thanks Russell.


"Russell Fields" wrote:

Munish,

For SQL Server 2000, here is a start.

To see all logins and their group memberships on a server, run:
exec sp_helplogins

Within a database you can also run:
exec sp_helprolemember

For each database, to see all rights granted in that database run:
exec sp_helprotect

You can also look at the code of these stored procedures to see the tables
that they use.

RLF

"Munish Narula" <munish.narula@xxxxxxxxx> wrote in message
news:E5E0E381-64BF-418E-AD6D-0BA3C1FBB4CA@xxxxxxxxxxxxxxxx
I need to get all roles, users and their permissions in SQL 2000. Please
let
me know how can i get those.

Which table returns me the roles existing in the database and the
permission
assigned to these roles in SQL 2000.

Also which table would give me the relation between the role and the users
in that role in SQL 2000.




.



Relevant Pages

  • Re: How do i move an SQLDatabase to another location?
    ... I went to my clients and installed SQL Server ... Express and copied my database to the same location it was in while i was ... knowing that i can bring a database with me and install ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: New to Windows CE Development - Have some questions
    ... validating against the main database, or querying the database during data ... iterate through the SQL CE table and create new entries in the ... SQL Server database that correspond. ... >>> not connected to the Enterprise. ...
    (microsoft.public.windowsce.app.development)
  • RE: Logging in in background
    ... wold take all kinds of modifictions as I'd need to be checking that each SQL ... my database and all have connection strings associated with them. ... I suspect that there is also an issue on the SQL Server side as I keep ...
    (microsoft.public.access.modulesdaovba)
  • Re: Using Access 2007 to connect to SQL
    ... MDB database file format, ODBC linked tables, passthrough queries ... probably the easiest way of retrieving data from a SQL-Server ... I'm a total newbie w MS SQL Server. ...
    (microsoft.public.access.adp.sqlserver)
  • RE: SBS 2003 Unable to connect to database STS_Config
    ... MSDE to store SharePoint uses the MSSQL$SharePoint database, ... SharePoint named instance to full SQL. ... You cannot upgrade the Monitoring instance to SQL ... What I see is the SQL server group and under ...
    (microsoft.public.windows.server.sbs)