Re: Query that involves publci role
From: oj (nospam_ojngo@home.com)
Date: 06/05/02
- Next message: N. Brake: "Re: Membership of a user in a role"
- Previous message: FR: "Query that involves publci role"
- In reply to: FR: "Query that involves publci role"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "oj" <nospam_ojngo@home.com> Date: Tue, 4 Jun 2002 23:01:02 -0700
here are some tips to get you started...
1. dump the result of exec sp_helprotect null,'public' into a tmp table
2. create 'deny' statements based on what is granted to public by querying
the tmp
3. exec #2 result
-- -oj Rac v2.1 coming soon http://www.rac4sql.net "FR" <floydrev@hotmail.com> wrote in message news:u5p2HjEDCHA.1432@tkmsftngp04... > Id like to know all the permissions granted to the public role for all > objects in a certain database and based on that create another role to deny > the same for those objects > > Can someone help me with the query ? > > Thanks > >
- Next message: N. Brake: "Re: Membership of a user in a role"
- Previous message: FR: "Query that involves publci role"
- In reply to: FR: "Query that involves publci role"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|