Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2008 Forums
 SQL Server Administration (2008)
 user access

Author  Topic 

abbikhan
Starting Member

26 Posts

Posted - 2011-10-18 : 16:46:41
i wan to create a USER that have permissions only to store procedures that have been created by himself only not by other admin user
any one can help...

influent
Constraint Violating Yak Guru

367 Posts

Posted - 2011-10-18 : 16:48:59
Have you tried using schemas?
Go to Top of Page

influent
Constraint Violating Yak Guru

367 Posts

Posted - 2011-10-18 : 17:39:24
If you could give more details that would be helpful.
Go to Top of Page

abbikhan
Starting Member

26 Posts

Posted - 2011-10-18 : 17:52:24
quote:
Originally posted by influent

If you could give more details that would be helpful.



database have 7 sps created by user1
there is another user user2 that should have permissions to execute sps creates by user1 and also able to create new sps, only sps created by user2 should be accessible,viweable, by user2
Go to Top of Page

abbikhan
Starting Member

26 Posts

Posted - 2011-10-18 : 18:07:26
i just created a user owning a role
role have permission on database Execute,create procedure,select

but now i am getting error

Msg 2760, Level 16, State 1, Procedure cmdusepro, Line 3
The specified schema name "dbo" either does not exist or you do not have permission to use it.
Go to Top of Page
   

- Advertisement -