473,513 Members | 4,116 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Copy permissions

LM
Hi,

I have 1 developement Database and 3 databases for 3 different countries.
They are all located at the same server.

I have the same tables and the same roles in each database. I want to make a
script, which can copy role permissions from the development db to all the
country databases. Is it possible?

LM
Aug 10 '05 #1
1 1849

"LM" <no****@nospam.no> wrote in message
news:42***********************@news.sunsite.dk...
Hi,

I have 1 developement Database and 3 databases for 3 different countries.
They are all located at the same server.

I have the same tables and the same roles in each database. I want to make
a
script, which can copy role permissions from the development db to all the
country databases. Is it possible?

LM


Yes - roles are defined in each database, so you should be able to run a
script in multiple databases without problems, provided that the necessary
logins exist. In Enterprise Manager, you can script objects with the
"database users and database roles" option.

Simon
Aug 10 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
5430
by: gudia | last post by:
How would I, using a sql script, copy permissions assigned to a user or a role in one or more databases to another user or a role in their respective databases? Help appreciated
3
9523
by: comp_databases_ms-sqlserver | last post by:
Brief description of the problem: My production server has about 50 databases and various permissions are granted to public role on all these databases. Because of this any new user added to any database gets unnecessary access to objects by virtue of being a member of public by default. I would like to fix this flaw in the way the server is...
1
1745
by: Paul Smith | last post by:
I am new to using VB.net and am learning through a book, and it does not cover this well enough!!!! I have created a basic asp.net web page and can view this when my project is located on my local machine using my local IIS. I now want to upload or copy this to a remote server. I am using Copy Project but cannot seem to get it right. ...
1
5579
by: Knepper, Michelle | last post by:
Hi out there, I'm a first-time user of the "Copy ... From..." command, and I'm trying to load a table from a text flat file. http://www.postgresql.org/docs/7.4/static/sql-copy.html I don't know if I'm using the command correctly. Question: I run this command as a superuser, and the "copy from" command is run like a SQL command on the...
4
7009
by: Jon Asher | last post by:
Hi, I'm trying to do a simple import of a comma delimited text file with COPY but it's returning an error. The file has been granted all permissions in Linux, so it's not clear to me what the problem is. Version 7.41 is installed... see below for details: A comma delimited text file has been placed in a local directory with permissions...
0
1223
by: Joe S. | last post by:
I've been looking into the My.Computer.FileSystem.CopyDirectory method and I need a way to copy a directory and keep its NTFS permissions (even if it's a mapped drive). Do I need to use the shell API, if so anyone have examples that would keep permissions, or am I just not seeing a way to use .CopyDirectory to keep the permissions? What...
1
5848
by: ofzer | last post by:
Hi, Suspiciously, perl does not save file's permission when coping it. In order to implement the copy , I use : use File::Copy; and File::Copy::Recursive. The BIG problem is that the file permissions wont be saved after coping it to another place. I found a clumsy way to keep the permission in copy(); but I dont have any idea how to...
4
626
by: rgw1 | last post by:
Hello, Can anyone help with this? I am using C# with IIS 6.0 on Windows 2003 Server. I am trying to copy a file over the network. It is attempting to copy a file on a NAS (external hard drive), which is Linux based. I have already set the permission on the NAS and I can copy files manually without any problem. If I run the same code on...
0
1284
by: sivaramsekar | last post by:
Hi, I have a requirement to copy files (images) from a different server to our web server which has IIS 6.0 and asp.net 3.5. When i try it in my local dev machine i am able to copy and save the files however if i deploy the project in the server i am not able to save the file in the web server and there is no error which throws also. ...
1
1227
by: John Murtari | last post by:
Folks, Just noticed this with PHP 5 on RHEL 4 -- started using the copy function to move some files around and saw that executable permissions were being lost? The documentation didn't say anything about that? Is this a bug or a feature? Thanks. -- John
0
7270
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7178
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7397
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
5703
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5102
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
4757
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3239
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1612
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
813
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.