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

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Administration
 Schema, Object Level Permissions for a user
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

yourz
Starting Member

India
1 Posts

Posted - 03/12/2013 :  10:18:56  Show Profile  Reply with Quote
Hi...

I need a t-sql script for SQL SERVER 2005

Requirements:

I have 2 user accounts for the both accounts i need to find the all the permissions.

Like...

The 2 users are mapped to which databases on the server?

What are the databases names?

What kind of permissions having on the mapped databases?

For each database i need to find all the permissions like object level, schema level....etc.....?

Thanks

russell
Pyro-ma-ni-yak

USA
5072 Posts

Posted - 03/12/2013 :  12:44:25  Show Profile  Visit russell's Homepage  Reply with Quote
have a look at

sp_helplogins
and
sp_helpuser

Edited by - russell on 03/12/2013 12:46:06
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000