the role of multiple users
Hi gurus,
I don't know if I'm in the right forum or this thread must be in pl/sql forum, so please move if necessary.
Im working on 11.2.0.3 windows 7 and must grant a role to multiple users (all users who begin by "OPS$"), but I can't find a solution for me, so I need your knowledge:
I tried:
SQL >
1 start
2 C1 looping (select username from dba_users where username like "OPS$ % ')
3 immediate execution
4 ' grant of TP_RW to | C1. UserName;
5 end of loop;
6 * end;
Start
*
ERROR on line 1:
ORA-00933: SQL not correctly completed command
ORA-06512: at line 3 level
what I am doing wrong?
I got it
DECLARE
v_cmd VARCHAR2 (64);
BEGIN
C1 in (SELECT username FROM dba_users where username like "OPS$ % ')
LOOP
v_cmd: = ' grant of TP_RW to | '"' || C1.username |' » ' ;
dbms_output.put_line (v_cmd);
EXECUTE IMMEDIATE v_cmd;
END LOOP;
END;
Chris script just "OPS_USER" with quotes.
Thank you guys
Tags: Database
Similar Questions
-
How to divide the request to assign a role to multiple users in several.
Hello
While we are assigning a role to multiple users OIM11g at the same time, demand has cut several queries to get approved by the Manager of beneficiaries. Please let us know ways to apply the composite to divide the application.Why two separate approval process? Instead of two only have a license deal with assignment of dynamic loop based Manager of beneficiary to the owner of the role, and attach it to the level of the operation and you should be good (with auto level template and request approval).
The child requests are generated only at the level of the operation and NOT to any two previous levels. It is the engine of the application for you.-BB
-
share 'Start' content and presentation of the tile with multiple users on the same Tablet Windows RT
Hello
Can someone tell me if it is possible to share/copy the content start and the tile layout with multiple users on the same shelf?
Hello
Welcome to the Microsoft community.
Unfortunately, you will not be able to share or copy the content start and available to tile with multiple users. However, you can rearrange the tiles and select the content to be displayed manually on each of the user accounts.
See these articles for more details:
Customize the splash screen
http://Windows.Microsoft.com/en-in/Windows-8/start-screen#1TC=T1
Reorganization of the tiles start
http://Windows.Microsoft.com/en-in/Windows-8/rearrange-tiles-start
I hope this helps. Let us know if you need more assistance.
-
How to give the privilege for the task to the role or named users
I am for the first time using dbms_scheduler instead of dbms_job.
We have a situation where multiple users have privilege to run and change / delete a created with dbms_scheduler job.
The job is running and I'm able to administer as a creator/owner there but is not able to grant privileges to other users.
I executed:
-Grant create any job to < user
-Grant manage scheduler < user >
but without success.When reading the documentation is seems it should be possible to grant privilege on work using alter < user > my_job grant but I don't get that ORA-00990: missing or invalid privilege
I tried to use dbms_scheduler.create_job.
What do I have to use dbms_scheduler.create_program?
With the help of 11.2.0.2.0 (linux)
I missed something fundamental?Regards Niclas Eklund
Hi Niclas,
Yes, you can grant the privilege to alter on a job. As pointed Asy, maybe you just forgot the key word WE?
That being said, the privilege of CREATING a TASK also allows you to edit any job. However, this privilege is very powerful, so you should be very careful before you give him.
-
Create the trigger for multiple users
I am trying to create a trigger for a DDL event which gives an error for 2 users when they try to create a database object or a table.
Here is my code. When ran it gives me the following error: "WARNING: trigger created with errors of complication."
Any idea would be appreciated.
Thank you!
CREATE OR REPLACE TRIGGER trigger_before_create_object
BEFORE YOU CREATE ON THE DATABASE
BEGIN
IF USER = USER OR "VPD_CLERK1" = "DBSEC_CLERK."
THEN
RAISE_APPLICATION_ERROR (' you do not have the privilege to create tables or other database objects.) Contact your administrator if you need the privilege. ") ;
END IF;
END;
Published by: mkmety on April 20, 2013 12:10Welcome to the forum!
Whenever you post provide your Oracle version 4-digit
>
I am trying to create a trigger for a DDL event which gives an error for 2 users when they try to create a database object or a table.Here is my code. When ran it gives me the following error: "WARNING: trigger created with errors of complication."
Any idea would be appreciated.
Thank you!
>
And to alert you to the need to view the errors you got. If you did you will see this:
>
PLS-00306: wrong number or types of arguments in the call to "RAISE_APPLICATION_ERROR.
>
Oracle cannot raise your exception if you:1. do not define an exception to throw
2. don't tell Oracle how exception to throwSee the section "Defining your own Error Messages (procedure RAISE_APPLICATION_ERROR)" in the doc of the PL/SQL language
http://docs.Oracle.com/CD/B28359_01/AppDev.111/b28370/errors.htm#i1871This article has examples that show how to raise your exceptions.
-
Rest of the passwords for multiple users in 11i
Hi Hussein.
I need to reset the password for 10 users of 11.5.10.2 Application. Please let me know what is the best way. Is it possible to reset the password of the interface as well.
Thank you
-Samar-Samar,
Use FND_USER_PKG. UpdateUser API to change the password of users - see (Note: 344979.1 - users are not prompted to change their password when using Fnd_user_pkg.) UpdateUser).
Another possible solution to force these 10 users to change their password. Modify the script in AFCPEXPIRE.sql for 10 users, you want them to change their password - see (Note: 414976.1 - how to Force all Applications users to change their password?).
Kind regards
Hussein -
How to share the library with multiple users?
I have a Mac Pro 2008. I have four internal hard drives. One of them is an SSD that is my boot drive. I have another internal drive that houses my music and movies (2 TB).
I have four different connections - mine (admin), my wife, my son, my daughter.
How can I share music on (2 TB) library with other users? I read to the music folder (shared) - however since the 2 TB is not a boot disc, there is no shared folder.
You try to share an iTunes library, or the drive contains just music files.
Other users can see the drive, or simply don't have access to the records.
-
Disappears problem Wizard of the printer for multiple users
It seems to be a problem for many people on this forum at the moment where Printer Wizard and other options disappear from the printer software. I have a Deskjet 3070 and have been touched by this problem. At least one person with the same printer has posted the same problem recently and someone with a 5510 and someone with a 8600 - all in just the last two days.
I uninstalled and reinstalled and I'm still in the same situation, I also followed advice given to other users and made a bit of investigation, I sure hope can help to define the problem as it seems that this could be a similar thing that happened to us all...
If I create a new user account and log in it and then open the "printer software" at first I get all the options provided. After a short while an information banner invites me to download the update details is displayed:
Once this happens it has not come back... No matter if you click on the banner the next time that you open the printer software, half of these options will be gone:
If you create a new user, it's the same thing: at first all goes well until the inevitable update. What I can't work is the way to do things, come back as it should be once they have gone to a user account. More for you a solution please! Thank you.
Hello.
Yes, same question here for my 6500 Officjet has. Before was particularly to be able to see the status of printer ink in one click all the features. All these features have disappeared, I noticed in the last week or two. No update has been installed by myself to the software of HP Print to my knowledge either. Went to the HP Canada website and download the full feature set driver and installed and now have the rear HP Printer Wizard. It's kinda diiferent tho of previous version I had installed with the CD supplied with the printer, a year or two there therefore needs to be a more recent version of the help system.
What happened here HP? Did a silent update killed the previous Printer Wizard? Would really like to know...
Thank you.
-
On the use of the functionality of multiple user in Moto E2
I created several users in my laptop. Now how to share applications with them? For example, if I need to give them access to a game, how to administrate it?
My understanding is that you must install it for each user. That's what I read, but I confess that I do not use this feature
-
Original title: Multi users
Is it possible to set up for multiple users on the same computer to avoid entering the email and password every time that a new user want to check emails?
Hello
Welcome to the community forums of Microsoft and thanks for posting the question. According to the description, you need help in the creation of multiple user accounts. I've surely you will help find a solution on the issue.
What is the operating system installed on the computer?
User accounts, several people can easily share a single computer. Each person can have a separate user account with unique settings and preferences, such as a screen saver or desktop background. User accounts control files and programs users can access and what types of changes users can make to the computer. As a general rule, you'll want to create standard accounts for most computer users.
If you use Windows Vista or Windows 7, see the article below:
Create a user account
http://Windows.Microsoft.com/en-in/Windows7/create-a-user-account
http://Windows.Microsoft.com/en-in/Windows-Vista/create-a-user-account
For Windows XP users:
How to create and configure user accounts in Windows XP
http://support.Microsoft.com/kb/279783?WA=wsignin1.0
Hope this information helps. Answer please if you have more queries about Windows.
-
How to find the ROLE of all 10 GB DB users
Is there a way to discover the ROLE of all users in the database. Is there any DISPLAY for it.
THXHello
Some scripts:
PROMPT PROMPT PROMPT ******************************************** ROLES AND PRIVILEGES PROMPT PROMPT ******************************************** USER ROLES SELECT grantee user, granted_role, admin_option, default_role FROM dba_role_privs WHERE grantee IN (SELECT username FROM dba_users) AND grantee NOT LIKE '%SYS%' AND grantee NOT IN ('DBSNMP','OUTLN') ORDER BY grantee; PROMPT PROMPT ******************************************** USER PRIVILEGES SELECT grantee user, privilege, admin_option FROM dba_sys_privs WHERE grantee IN (SELECT username FROM dba_users) AND grantee NOT LIKE '%SYS%' AND grantee NOT IN ('DBSNMP','OUTLN') ORDER BY grantee;
set pages 58 column role format a19 heading 'User or Role' column admin_option format a3 heading 'Ad?' column owner format a7 heading 'Owner' column table_name format a26 heading 'Table name' column privilege format a21 heading 'Priv, Grant or Role' column r_ord noprint break on role start titel132 'ORACLE ROLES REPORT' select 2 r_ord, b.role role, b.owner owner, b.table_name, b.privilege privilege, b.grantable admin_option from sys.role_tab_privs b union select 1 r_ord, a.role role, 'N/A' owner, 'N/A' table_name, a.privilege privilege, a.admin_option admin_option from sys.role_sys_privs a union select 3 r_ord, c.role role, 'N/A' owner, 'N/A' table_name, c.granted_role privilege, c.admin_option admin_option from sys.role_role_privs c order by role,r_ord; set flush on term on pagesize 22 linesize 80 clear columns clear breaks ttitle off pause Press enter to continue
I hope this will help you.
See you soon,.
Francisco Munoz Alvarez
http://www.oraclenz.com -
Homegroup and multiple user account problems
I have been searching the net for information and can't find anything that matches. I'm having all kinds of problems through the homegroup and multiple user accounts.
I would like to know: when a machine (laptop in this case) is off the network, the individual user accounts will remain visible under homegroup?
If they are not, then homegroup is not for me.
UPDATE and closing:
I confirmed that the individual accounts of the user on a machine that visible to another when this computer is connected to another group residential computer on a local network domestic. Why they don't look just like a homegroup internally I don't get except that the machine would always be part of a group residential e.g. a laptop, as in my case, would be carrying a homegroup with it and not be able to jump on another residential group in a different location.
What was causing me a lot of trouble has AVG Free. Attention, the installation of AVG Free homegroup PCs cannot meet or is inconsistent at best. My laptop would show the user accounts, but not the other homegroup PCs and both could indicate that there is no other available HG machine or sometimes invites you to create a homegroup. It was a nightnare.
-
Unable to create the request of several users in oim 11 g 2
Hello
I am trying to assign a resource to multiple users using IOM identity console as a system administrator.
But when I assign the resource to multiple users its takes the same value for both users.
Please let me know how to add the different value for different users.
Thank you
Here are the rules of its operation. An application has 1 application form by resource for all users of the application. These fields must be marked as available in bulk as well to consider if you have more than 1 user on demand. If you need to provide different values according to the user, your best option is to pre-fill the cards on the form of courses and use logic to fill in the fields. You will not be able to manually provide different values during the request.
-Kevin
-
Hi all
I had created a strategy to access the OIM 11 g to work for a final user role. Also, I've created a membership rule in design console to verify that a custom page attribute create a user called UserRole had the value of the end user. I applied this rule as membership rule in the role of the end user so that the role be assigned self if I chose EndUser in UserRole attribute then create user phase. Also, I assigned the access policy that I created for this role in the access policies tab. After this, whenever I created the user with attribute UserRole EndUser role was automatically assigned to the user as well as the access policy is invoked and it worked great.
Then I activated the LDAP sync today and to check it worked I have disabled access policy by changing the role assignment he had to another role temporarily so that he would not get invoked. After awhile, I started the old role in the access policy so that it works as before. But now the access policy has stopped working. Also the user role is not automatically assigned. And on top of that, I'm still not able to assign the role to any user I create later manually. The error I get is:
An error occurred. The corresponding error code is 0080062 IAM
can someone please guide me to get the solution for this unacceptable mistake? I don't understand how I am unable to assign roles as well. If at all there is problem with the access policy so only he should have stopped working. But being not not able to manually assign roles is simply amazing. Help, please.
Thank you
$idHey $id,
Please run these scheduled tasks:
LDAPSync Post allow provision users to LDAP
LDAPSync Post Enable provision roles to LDAP
LDAPSync Post Enable provision of roles for LDAP group memberships
LDAPSync Post Select available role hierarchy in LDAP
If you follow these scheduled tasks predefined LDAP above, all users of provisioning, roles and role memberships, as well as hierarchy, role of LDAP is reached.
Please let me know if you have any doubt.
I hope this helps.
Leoncio Thiago. -
Assign a role to a user already created
Hi experts,
I created a rule, a role, a strategy of access and every time I have to create a new user of the access policy is properly triggered and appropriate resources are properly assigned.
If I manually assign a role to a user, IOM provisions automatically objects associated with the role.
The problem is that all users created before the creation of the role, do not belong to the role: what should I do to give the role to all users?
Thank you1 create an access policy and audit indicator change see details below
#If renovation flag is set for the policy
These assessments do not immediately occur after the action. Instead, they occur during the next run to evaluate the schedule task user policies. Evaluations can occur in the following scenarios:
* Definition of strategy is updated so that the indicator adaptation is defined on IT. Policies are evaluated for all users there.
* A role is added or removed from the definition of the policy. Policies are evaluated only for roles that is added or removed.
* A resource is added, deleted, or the flag value revoke if no. Longer applies is changed for the resource. Policies are evaluated for all users there.
* When the policy data are updated or deleted. This includes data form of the mother and the child. Policies are evaluated for all users there.2. a way to do this is to write a scheduled task and using the API assign the role of the user
Check below link
http://docs.Oracle.com/CD/E14571_01/doc.1111/e14309/spmlapi.htm
Article 29.3
Maybe you are looking for
-
my running 64 bit or 32 bit firefox?
I went to help and about, but does not see this information.
-
Satellite A300: Win7 watch battery message - consider replacing the battery
I need help with a problem to do with the driver or the BIOS of a Toshiba A300.I am running Windows 7 and recently I got a message saying "consider replacing the battery. I know that it is a well known problem. There should be a work around otherwise
-
original title: WHERE CAN I FIND WINDOWS XP MEDIA CENTER EDITION 2005 CD LABEL MAKER DONWLOAD? I HAVE A WINDOWS MEDIA PLAYER INSTALLED ON MY COMPUTER, BUT DOES NOT INCLUDE THE CD LABEL/INSERT MAKER THAT HAD MY ORIGINAL COMPUTER UNTIL I REPLACED MY HA
-
I have a windows 7 enterprise desktop pc will not be enabled. the computer can be activated in the lab computer, but when I take it on the user's desktop and the connection to windows 7, it is disabled. I swapped three times desktop computers and har
-
I own a HP8600 OfficeJet ProI've always used genuine HP ink cartridges. Several weeks ago, I received a HP dialog box telling me that I should be rewarded for it. HP has rewarded me with a cartridge cyan magenta yellow and black ink. It says click he