Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / General / Security / September 2005

Tip: Looking for answers? Try searching our database.

Script User Rights

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
CR - 02 Sep 2005 15:57 GMT
Is there an easy way to capture existing user rights from a SQL Server
instance in a scripted format and simply run the script in a new SQL Server
instance to set all of the user privileges?  Thank you.
Vishal Gandhi - 02 Sep 2005 19:27 GMT
Hi ,

You could use the Enterprise Manager to Script user Rights , Right click on
the database Click on all tasks -> Generate SQL Scripts -> goto Last Tab and
look at the security options.

Hope this helps

Cheers
Vishal Gandhi

> Is there an easy way to capture existing user rights from a SQL Server
> instance in a scripted format and simply run the script in a new SQL Server
> instance to set all of the user privileges?  Thank you.
CR - 26 Sep 2005 16:05 GMT
Thanks.  However, I get "[SQL-DMO]CreateFile error on
"servername.databasename.DP1' error when I try to generate script???

> Hi ,
>
[quoted text clipped - 10 lines]
> > instance in a scripted format and simply run the script in a new SQL Server
> > instance to set all of the user privileges?  Thank you.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.