Wrox Programmer Forums
Go Back   Wrox Programmer Forums > SQL Server > SQL Server 2005 > SQL Server 2005
|
SQL Server 2005 General discussion of SQL Server *2005* version only.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server 2005 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 1st, 2006, 02:44 PM
Registered User
 
Join Date: Oct 2006
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to look users on a Database..?

Help me find out how to look for users on a Current Database and also to give different permissions to a specific user.

 
Old November 2nd, 2006, 11:01 PM
SQLScott's Avatar
Wrox Author
 
Join Date: Dec 2004
Posts: 338
Thanks: 0
Thanked 2 Times in 2 Posts
Default

Do you mean programatically or not? You can easily view the users for a specific database in SQL Server Management Studio. Expand the node for the specific database, then expand the security node, then expand the users node. There you can see the users for that specific database. if you right mouse click, and select properties, you can view the permissions for that specific user.

Does this help?


Scott Klein
Author - Professional SQL Server 2005 XML
http://www.wrox.com/WileyCDA/WroxTit...764597922.html
 
Old December 14th, 2006, 04:52 PM
Friend of Wrox
 
Join Date: Aug 2004
Posts: 385
Thanks: 0
Thanked 0 Times in 0 Posts
Default

sp_who, sp_who2, then look at the system tables.







Similar Threads
Thread Thread Starter Forum Replies Last Post
WCF Authenticating users from Database irfanb2000 BOOK: Professional WCF Programming: .NET Dev with Windows Communication Found ISBN: 9780470089842 1 May 7th, 2008 05:36 PM
Prevent users from accessing the database window JAdkins Access VBA 1 February 2nd, 2008 03:10 PM
Excel VBA - Access database push to users dfeuerborn Excel VBA 1 August 19th, 2005 02:50 AM
Creating separate database for users. major dynamic123 MySQL 3 March 4th, 2005 10:24 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.