all groups > sql server msde > june 2004 >
You're in the

sql server msde

group:

More Questions on Permission



More Questions on Permission Greg Chang
6/28/2004 7:25:40 AM
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]
in message
news:210fa01c45a0e$23130eb0$a501280a@phx.gbl...
[quoted text, click to view]


..

Re: More Questions on Permission Jim Young
6/28/2004 7:56:28 AM
See the BOL for information about the sp_helprotect stored procedure.

Jim

[quoted text, click to view]

Re: More Questions on Permission Greg Chang
6/28/2004 8:12:09 AM
What is BOL?

[quoted text, click to view]
Re: More Questions on Permission Jacco Schalkwijk
6/28/2004 4:25:23 PM
BOL = Books OnLine, which is the documentation for SQL Server. You can find
it in the SQL Server program group, and you can download the latest updated
version from www.microsoft.com/sql

--
Jacco Schalkwijk
SQL Server MVP


[quoted text, click to view]

Re: More Questions on Permission Andrea Montanari
6/28/2004 5:29:34 PM
hi Greg,
"Greg Chang" <anonymous@discussions.microsoft.com> ha scritto nel messaggio
news:2239e01c45d22$4877f9b0$a301280a@phx.gbl...
[quoted text, click to view]

BOL stands for Books On Line, the official on-line guide for SQL Server, you
can download, in localized version at
http://www.microsoft.com/sql/techinfo/productdoc/2000/books.asp
it's the best documentation ever about SQL Server...
--
Andrea Montanari (Microsoft MVP - SQL Server)
http://www.asql.biz/DbaMgr.shtm http://italy.mvps.org
DbaMgr2k ver 0.8.0 - DbaMgr ver 0.54.0
(my vb6+sql-dmo little try to provide MS MSDE 1.0 and MSDE 2000 a visual
interface)
--------- remove DMO to reply
AddThis Social Bookmark Button