Re: Permissions List
From: Anith Sen (anith@bizdatasolutions.com)
Date: 06/28/02
- Next message: Roy Harvey: "Re: Permissions List"
- Previous message: Alan Roberts: "Re: Permissions List"
- In reply to: Alan Roberts: "Re: Permissions List"
- Next in thread: BP Margolin: "Re: Permissions List"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Anith Sen" <anith@bizdatasolutions.com> Date: Fri, 28 Jun 2002 13:36:10 -0500
Something along the lines of ...
SELECT
sysobjects.[name],
sysusers.[name] as [User],
syspermissions. *
FROM
syspermissions inner join sysobjects
on syspermissions.id = sysobjects.id
INNER JOIN sysusers
on syspermissions.grantee = sysusers.uid
WHERE
sysobjects.name = '<yourTable>'
??
- Anith
"Alan Roberts" <taroberts@gcc.edu> wrote in message
news:1329e01c21ecb$8523de70$9ae62ecf@tkmsftngxa02...
> Thanks BP but I want the list by table not by user. I
> have almost 100 users and I am trying to get a handle on
> who has access to what tables.
>
> Alan
>
>
> >-----Original Message-----
> >Alan,
> >
> >Perhaps you could play with a combination of the SET USER
> command and the
> >PERMISSIONS function to accomplish what you want.
> >
> >Documentation on both SET USER and PERMISSIONS is
> available in the SQL
> >Server Books Online.
> >
> >You might also use SQL Server Profiler to trace the
> commands used by
> >Microsoft to determine permissions within Enterprise
> Manager.
> >
> >-------------------------------------------
> >BP Margolin
> >Please reply only to the newsgroups.
> >When posting, inclusion of SQL (CREATE TABLE ...,
> INSERT ..., etc.) which
> >can be cut and pasted into Query Analyzer is appreciated.
> >
> >"Alan Roberts" <taroberts@gcc.edu> wrote in message
> >news:1326f01c21ec6$7e194b60$9ae62ecf@tkmsftngxa02...
> >> How can I get a printable list of all users who have
> >> access to a particular table?
> >
> >
> >.
> >
- Next message: Roy Harvey: "Re: Permissions List"
- Previous message: Alan Roberts: "Re: Permissions List"
- In reply to: Alan Roberts: "Re: Permissions List"
- Next in thread: BP Margolin: "Re: Permissions List"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|