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
 General SQL Server Forums
 New to SQL Server Programming
 grant permission

Author  Topic 

psangeetha
Yak Posting Veteran

95 Posts

Posted - 2010-08-25 : 16:34:24
Hi all,

Is there a grant connect to database permission in sql server 2005? Or will the user get connect permission by default when the user is created in a database?

Also the user will only have connect privilege in the database. We have an application role through which the user will get access to the objects in the database. Does this user need grant execute permission to execute an application role?

Thank you very much

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2010-08-25 : 18:33:17
When you add the user as a login to the server, the user can then connect. There is no connect privilege.

All access can be handled through the role.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page

psangeetha
Yak Posting Veteran

95 Posts

Posted - 2010-08-25 : 20:42:48
Thanks.

Does this user need grant execute permission to execute the application role?

Thank you
Go to Top of Page
   

- Advertisement -