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 2005 Forums
 SQL Server Administration (2005)
 extract user permissions in sql server 2000

Author  Topic 

satishvsh
Starting Member

41 Posts

Posted - 2008-07-01 : 13:30:02
Friends -

i need to extract user permissions from sql server 2000. currently this user is holding read, write and execute permissions on some objects in database.

I need to create this user same as it is on sql server 2005. Is there any script available for this.

Please help me on this.

Cheers :)
satish

sodeep
Master Smack Fu Yak Hacker

7174 Posts

Posted - 2008-07-01 : 14:05:26
You can script it. What about schema in 2005? Do they match in 2000?
Go to Top of Page

satishvsh
Starting Member

41 Posts

Posted - 2008-07-01 : 14:10:28
quote:
Originally posted by sodeep

You can script it. What about schema in 2005? Do they match in 2000?



i created login manually in 2005. now i want to extract permissions what ever it is there in 2000.

for eg: there are some objects which are having select, insert, update and delete etc,

i am looking for a script how to extract this with a script

regards
satish
Go to Top of Page

rmiao
Master Smack Fu Yak Hacker

7266 Posts

Posted - 2008-07-04 : 20:42:46
Tried with sp_helprotect?
Go to Top of Page

maninder
Posting Yak Master

100 Posts

Posted - 2008-07-05 : 00:08:15
http://blogs.conchango.com/jamiethomson/archive/2007/02/09/SQL-Server-2005_3A00_-View-all-permissions--_2800_2_2900_.aspx

Maninder
Database Painter.. Leaving strokes, that amaze! and inreturn, put value to your Work. I am a Database [Architect / Administrator]
Go to Top of Page

bhaskarareddy
Starting Member

7 Posts

Posted - 2012-06-28 : 23:40:04
hi

i hope it will help you

[url]http://csharpektroncmssql.blogspot.com/2012/01/retrieve-current-user-permissions-in.html[/url]
Go to Top of Page

lionofdezert
Aged Yak Warrior

885 Posts

Posted - 2012-07-10 : 13:49:47
http://connectsql.blogspot.com/2011/04/sql-server-script-to-create-replica-of.html

--------------------------
http://connectsql.com/
Go to Top of Page
   

- Advertisement -