If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Sybase > Sybase stored procedures permission

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-06-12, 05:46
AkhileshN AkhileshN is offline
Registered User
 
Join Date: Feb 2012
Location: DUBAI
Posts: 5
Sybase stored procedures permission

hi friends,

I would like to know how can we extract the permissions on all the Stored procedures of a sybase database. I know sp_helpprotect <procedure_name> will give the permissions on the specific sp. Is there any way to get permissions on sp on database level.

-- akhilesh
Reply With Quote
  #2 (permalink)  
Old 02-20-12, 10:10
gopal.sanodiya gopal.sanodiya is offline
Registered User
 
Join Date: Feb 2012
Posts: 5
check table sysprotects
select object_name(a.id),user_name(a.uid),a.action from sysprotects a, sysobjects b
where a.id=b.id
and b.type ="P"

check sysprotects description in
SyBooks Online
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On