sql server msde:
Thanks Hari, That helps a lot.
Do I have a way to know previlage details about an Object?
such as is the SELECT on a table been Granted, revoked or
denied?
Greg Chang
Subject: Re: Questions about syspermissions
From: "Hari" <hari_prasad_k@hotmail.com> Sent:
6/24/2004 9:29:17 PM
HI,
Have a look into sysprotects table, column action
contains the granted
previlages for each objects.
The explanation for Action column:-
26 = REFERENCES
178 = CREATE FUNCTION
193 = SELECT
195 = INSERT
196 = DELETE
197 = UPDATE
198 = CREATE TABLE
203 = CREATE DATABASE
207 = CREATE VIEW
222 = CREATE PROCEDURE
224 = EXECUTE
228 = BACKUP DATABASE
233 = CREATE DEFAULT
235 = BACKUP LOG
236 = CREATE RULE
Simply you can execute the below system procedure to get
the objct level
previlages:-
sp_helprotect <object_name>
--
Thanks
Hari
MCDBA
[quoted text, click to view] "Greg Chang" <anonymous@discussions.microsoft.com> wrote
in message
news:210fa01c45a0e$23130eb0$a501280a@phx.gbl...
[quoted text, click to view] > is syspermissions table contains the Permissions of
> delete, select, insert, update, execute and DRI on all
> the objects?
>
> how do I use this syspermissions table? For example,
> which column stored the INSERT Privileges?
>
> thanks
>
> Greg Chang
..