Re: Object Permissions query

From: Hari (hari_prasad_k_at_hotmail.com)
Date: 03/17/04


Date: Wed, 17 Mar 2004 08:45:44 +0530

Hi,

You may have refer 2 tables

syspermissions - Which contains the details of permissions given using
'Grant' statement

sysmembers - Which contains roles assigned.

So you may need to write a query based on both the above tables.

Note:

Both the above tables are available in all the databases.

Thanks
Hari
MCDBA

"brian" <anonymous@discussions.microsoft.com> wrote in message
news:DE39B6D0-F397-4EA5-BB80-771136FA0B45@microsoft.com...
> Hi
>
> I am wanting to construct a query to retrieve a list of tables and views
that a user and it's group have access to. This need to include default
group-level permissions, such as ddl_admin, etc.
>
> for instance. I have a user "A" who is part of Group "XYZ". I want to
retrieve a list of views and tables that User "A" or it's parent group
("XYZ") have select permission .
>
> Has anybody done this.
>
> cheers,
> Brian



Relevant Pages

  • Walking the file system
    ... files and folders during an overnight process. ... and reset all permissions back to what they should be. ... I know that I can do this with DirectoryInfo objects, ... Is there a system call that can retrieve a list of files ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Roles and permission mapping table
    ... How can I retrieve a list of objects and permissions for a specified role? ... In SQL Server 2005, you can use the Has_Perms_By_Namefunction ...
    (microsoft.public.sqlserver.security)
  • Re: [OT, welcome msg] Retrieve printer permissions programmatically
    ... > How do you retrieve a shared printer's permissions ... > programmatically?Theprinter is a network printer.NetShareGetInfo seems ... > solution for 9x as well as NT systems using the Windows SDK API? ...
    (comp.lang.cpp)
  • Getting Group information from folder
    ... Is there a way to loop through the entire root of a drive and retrieve all ... groups and users that have permissions on the folder and what permissions ...
    (microsoft.public.vb.enterprise)
  • Re: restricted user level security
    ... All of my queries and macros are built off the Supervisor name, ... query, the query includes all of the fields and the CurrentUsercriteria. ... I changed the Run Permissions to Owner. ... you can set up user level security. ...
    (microsoft.public.access.security)