Solved

How to check permissions for a user in sql server 2005

Posted on 2008-06-10
4
2,214 Views
Last Modified: 2010-05-18
I am trying to find the permissions for a user account in sql server 2005.How to find what are the permissions the particular user account has on a database in sql server 2005?
0
Comment
Question by:mshan
  • 2
4 Comments
 
LVL 8

Expert Comment

by:sbagireddi
ID: 21755424
Right click on the user under Security Tab in Management studio and select Properties.
0
 

Author Comment

by:mshan
ID: 21755541
It gives me the role of the user account.ca you tell me How to find what are privileges the user has on the database like permission for insertion,deletion,updation?
0
 
LVL 8

Accepted Solution

by:
sbagireddi earned 500 total points
ID: 21755737
When you click the tab for User mapping  and highlight individual dbs you will see the Database role membership
for each database.

You will see the roles like : db_datareader,db_owner.

To better understand the roles please look up Books Online.

0
 

Expert Comment

by:brahma007
ID: 22164782
in sql server 2005 we have one function to know permission in sql
select fn_my_permissions(null,'database')
u can give different attributes like tablename table

0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Suggested Solutions

If you having speed problem in loading SQL Server Management Studio, try to uncheck these options in your internet browser (IE -> Internet Options / Advanced / Security):    . Check for publisher's certificate revocation    . Check for server ce…
Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now