Is it possible to create APEX user in background?
Hi experts,
I have a page to create new user with the following items in an application:
P1_USER_ID
P1_EMAIL
P1_PASSWORD
It is using Automatic Row Processing (DML) to insert these to PEOPLE table.
When submit it above in the same time, I would like to create APEX's user using the values which are specified on it above.
I think that I can use APEX_UTIL.CREATE_USER, but the user who log into the current application with APEX authentication does not have admin privilege. I guess that the operation might fail. Correct?
Or, is it possible to create APEX user without admin privs if it is background?
Thanks in advance,
Rui
Hello,
>> but the user who log into the current application with APEX authentication does not have admin privilege. I guess that the operation might fail. Correct?
Yes, correct. To execute APEX_UTIL.CREATE_USER, the current user must have administrative privileges - http://download.oracle.com/docs/cd/E10513_01/doc/appdev.310/e10499/api.htm#BABCFBGG .
>> Or, is it possible to create APEX user without admin privs if it is background?
I don’t see the relevance of a background process, in this context. The admin privileges demand is there to prevent un-authorized users to open new users, without any control. It seems to me like a recipe for chaos to allow every user to define new users in the application.
Regards,
Arie.
Similar Messages
-
In single user mode is it possible to create a user
in single user mode is it possible to create a user using the niutil command. if so, can the user be given admin status so that software can be added to the system.
if it's possible could you post a link to how this is done or tell me if you have time.
thanks very much,
g.the short answer is yes, you can add users in single user mode and make them admins.
i usually add users on the command line like so:
(i don't have any attribution for this script, but i found it online somewhere. i used to do less than this when adding users.)
#!/bin/sh
echo "Enter username:"
read newuser
echo "Enter the full name for user $newuser's:"
read long_name
echo "Will $newuser be an Admin user (y/N)?"
read is_admin
new_uid=`nidump passwd . | awk -F: '{print $3f}' | sort -n|tail -1`
new_uid=`expr $new_uid + 1`
nicl . -create /users/$newuser
nicl . -create /users/$newuser uid $new_uid
nicl . -create /users/$newuser realname "$long_name"
nicl . -create /users/$newuser passwd ""
nicl . -create /users/$newuser gid 20
nicl . -create /users/$newuser shell "/bin/tcsh"
nicl . -create /users/$newuser home "/Users/$newuser"
nicl . -create /users/$newuser writerspasswd $newuser
passwd $newuser
ditto /System/Library/UserTemplate/English.lproj /Users/$newuser
chown -R $newuser:staff /Users/$newuser
nicl . -read /users/$newuser
if [ "$is_admin" = Y -o "$is_admin" = y ]
then
nicl . -append /groups/wheel users $newuser
nicl . -append /groups/admin users $newuser
nicl . -read /groups/wheel
nicl . -read /groups/admin
fi
also, when you're in SUM, you're root, so you can just type sh /etc/rc to start the necessary subsystems and install what you want. -
Possibility of creating Settlement Rule in Background?
Hi Gurus,
When I am doing TECO of the Maintenance Order everytime I have to create Settlement Rule.
My settlement receiver Category (Cost Center) and Cost Center are fixed for Order Type.
Is it possible to create Settlement rule in the background while doing TECO of the Order.
Please suggest if any User Exit is there.
With best regards,
NarendraNarendra,
We are looking at exactly the same issue.
As you are aware, you can only default one cost centre via the equip/floc...
The only way we can see to have a pre-defined cost centre by order type/plant is to use user-exit [IWO10027|http://pjatkin.users.btopenworld.com/documents/PMCSUserExits.pdf] (default settlement rules).
PeteA -
Another quick one - possible to create Style without Foreground/Background?
Hi,
I'm using Styles to change backgrounds and foregrounds in a JTextPane, and I want it to be possible to add a style to a section of text without affecting other attributes of that text, e.g., if a text colour is red and that style is called "Red", I want to be able to change the background to yellow without having to specify a foreground colour in the style called "YellowBackground", so that it can be used on black text or red text and it won't affect the text colour but will make the bakground yellow. Similarly for changing text colour, etc. I'm not sure if I've made myself clear enough, but does anyone know how to only affect the attributes you explicitly change in a Style?
Thanks
AaronHow does the example in the tutorial work?
You can select some text and then click or the "Bold" or "Italic" or "Foreground" or "Background" button. The attribute is added to what already exists, it doesn't replace all the attributes. So check out the source code to see how those Actions work. I believe they just add a new attribute to that piece of text. -
Is it possible to create users?
I want to share my files etc with others in the household/family but obviously don't want to give everyone access to everything. What I can't seem to find is how to set the access permissions on the shares exported; is this even possible? If it's not possible to secure the media hub then I'll be sending it back to my supplier as it's way too insecure for my needs.
Unfortunately, it is NOT possible to create multi-user restriction/access with the media hub.
Check out this linksys article: 17571 - Media Hub Lacks Multiple Users
If everyone needs to believe in something, I believe I'll have another beer.. -
Error while creating new user via new MDM API
Hi
I have two questions:
1) Is it possible to create a user in MDM via MDM4J?
2) I am trying to create a user through new MDM API (not the MDM4J). When I execute the command CreateUserCommand, I get following error:
com.sap.mdm.commands.CommandException: com.sap.mdm.internal.protocol.manual.ServerException: MDM repository data is out-of-date or is locked by another MDM Server. Refresh the data and try the operation again. If the error persists, contact the system administrator.
at com.sap.mdm.security.commands.CreateUserCommand.execute(CreateUserCommand.java:93)
at demo.dm.GetRoleList.main(GetRoleList.java:206)
Here is the code that I execute:
CreateUserCommand createusercommand =
new CreateUserCommand(connections);
createusercommand.setSession(repsessionId);
UserProperties userpp = new UserProperties();
userpp.setName("Vijendra");
//userpp.setRoleIds(roleids);
createusercommand.setUser(userpp);
//createusercommand.setInChangeStamp(-1);
//System.out.println(createusercommand.getOutChangeStamp());
try {
createusercommand.execute();
} catch (CommandException e) {
e.printStackTrace();
return;
Thanks
Vijendra
Edited by: Vijendra Bhanot on Feb 22, 2008 6:42 PM
Edited by: Vijendra Bhanot on Feb 22, 2008 6:49 PMHi
I am also getting same exception.
com.sap.mdm.internal.protocol.manual.ServerException: MDM repository data is out-of-date or is locked by another MDM Server. Refresh the data and try the operation again. If the error persists, contact the system administrator.
Please help me.
Thanks & Regards
Vinit -
Create portal user using web dynpro abap application
Dear All,
I would like to know is it possible to create portal user-id through web dynpro abap application.
My requirement is
> I have to create a web dynpro abap application. In the web dynpro abap application I have name email-id and phone number as entry fields.
> I will click on submit, one unique id will get created. This unique id will be the login id for portal.
I found how to create portal user using web dynpro java, but i could not find regarding web dynpro abap.
If it is possible to create the portal users using web dynpro abap pls share the code as well.
Regards,
Swapnil IndulkarHi swapnil,
I think by using BAPi.. BAPI_USER_CREATE1 you can create.
Please check this...
Create portal user from webdynpro abap
Creating user and assigning a group through code
user administration su01
How can i get the portal user id from logon ticket in the webdyn 4 ABAP
Cheers,
Kris.
Edited by: kissnas on May 21, 2011 8:47 AM -
Create new user in WebCenter Capture
Hi all,
Is it possible to create new user in Oracle WebCenter Capture?
In documentation I found that it can be done, but I can not find how...
Capture Users have client access to workspaces to which they have been granted access. Users are further granted access to specific client profiles. Capture user information is covered in Oracle Fusion Middleware Using Oracle WebCenter Capture. Any user that needs access to the client needs to be assigned the CaptureUser role in Oracle Enterprise Manager.
Capture System Administration Overview - 11g Release 1 (11.1.1)I found it, it is in Enterprise Manager.
WebLogic Domain ->
Right click on Fmw Domain -> choose Security -> Application Roles -
Active Directory User which can Create a User but not Allowed to Enable Disabled Users
Hi Guys, we have a requirement to create a User Group in Active Directory which will grant its members permission to 'Create Users' but not be allowed to 'Enable' 'Disabled Users'.
We have tried delegating control and assigning permissions by going to 'Security Tab>Advanced'.
It seems like when a group is granted permission to create users, it will also be allowed to enable, disabled users.
Kindly advise if it is possible to create a user group with permissions to 'Create Users' but not be allowed to 'Enable', 'Disabled Users'.Hi,
According to my experience, you can assign permission with create/delete user objects. If you want to disable/enbale
a user, you must be a member of the Account Operators group, Domain Admins group, or the Enterprise Admins group in Active Directory, or you must have been delegated the appropriate authority.
In general, if you just give a user group the permission to create user objects, it cannot disable or enable user accounts. Please make sure that the permission you assigned is correct and the
user group are not the member of Account Operators group, Domain Admins group, or the Enterprise Admins group in Active Directory.
Best regards,
Susie -
XE: create DB-User in APEX and Monitor Storage???
Hello there,
i am wondering, where some of the features described in the XE 2Day DBA guide are?
For Example, i cannot find the usage monitor or storage tab. I loged in:
WS: system | internal | MyWorkspace
user: system | admin | Jana
PW: ***** | ***** | *****
but nowhere i can find the storage tab or usage monitor described here:
http://download.oracle.com/docs/cd/B25329_01/doc/admin.102/b25107/storage.htm#BABEDCEF
I also cannot create DB-User (NOT APEX user) how it is described here
http://download.oracle.com/docs/cd/B25329_01/doc/admin.102/b25107/users_secure.htm#CHDDCIGA
because i can't find the right page "Manage Database users". there is no such register-tab
what i am doing wrong? Have no more idea. isn't that available in apex 3.0.1?
Using Oracle XE and Apex 3.0.1
Thank you for help!!!!If you're using Apex 3.0.1 with Oracle XE then those things simply are not there. This is clearly explained in the documentation that describes installation of Apex 3.0.1 on Oracle XE.
If you want to see/use the storage monitoring for Oracle XE you would need to revert back to the standard Apex 2.1 installation, which I'm not sure is possible. It probably is, but I've never tried to do it, so can't answer definitively.
Earl -
Is it possible to create a playlist and share it with another itunes user?
Is it possible to create a playlist and share it with another itunes user?
try this out
Select distinct
v_R_System.Netbios_Name0 AS [Computer Name],
v_GS_COMPUTER_SYSTEM.UserName0 AS [User Name]
from v_R_System
left join v_GS_COMPUTER_SYSTEM on (v_GS_COMPUTER_SYSTEM.ResourceID = v_R_System.ResourceID)
inner join v_fullcollectionmembership as b on (b.ResourceID = v_R_System.ResourceID)
left join v_GS_SYSTEM_CONSOLE_USAGE_MAXGROUP ON v_GS_SYSTEM_CONSOLE_USAGE_MAXGROUP.ResourceID = v_R_System.ResourceID
inner join v_GS_SYSTEM e on e.resourceid = b.resourceid
Where
b.CollectionID = @collectionid
Blog: http://theinfraguys.com
Follow me at Facebook
The Infra Guys Facebook Page
Please remember to click Mark as Answer on the answer if it helps you in anyway -
When in a hierarchy, a user right clicks on a node to crate a new node, he has two options
-Child
-Sibling
Is it possible to restrict the user from creating a sibling and allow him to ONLY create child nodes?
Business cases:
1. different level nodes need to have different prefixes.
- Thus, the default prefix property definition uses the level number to assign a prefix
- Also, a validation, to ensure the correct prefix, uses the level number
But if the user can create a child and a sibling then the default prefix will only be right for a single case and not both.
ThanksIf the images are exactly the same size then make sure the layer with the mask
is the active layer and in the other documents go to Select>Load Selection and choose
your document with the layer mask under Source document and under channel choose the layer mask.
After the selection loads press the layer mask icon at the bottom of the layers panel.
MTSTUNER -
Error while creating apex's users from sql
I hope some one can give me a hand on this!
While creating a user in apex from sql i get the following error:
"ORA-20001: User requires ADMIN privilege to perform this operation"
This error ocurs when i try to execute the package htmldb_util from a user different than flows_020000. I have already gave the permissions to execute this package.
Thanks in advanced!ok, let me see if i can give you a clearer picture.
I have a user/validation table (for certain transactions) on the production db.
Now we are using htmldb to develop a software "future requests".
The permissions to this transaction is defined on the user/validation table (where it is defined a password for each user, not counting their normal login password) and via replication i'm going to refresh the data of this table on another table located on the data base where the apex is installed.
The db link from production to apex is defined by another user, were all the tables and packages of this app. are defined.
When a user is created on the first table via replication it is also created on the apex db (which user is future) from here is were i want to create the apex's user.
I need to give the user access to the application, but i do not want to change the apex's user validation, so i decided to create the user on apex taking the advantage of the flows packages.
Thanks again.
Max. -
Is it possible to create user defined control in labview
in .net we can create user defined contol in which i can put more then one control and,, can use it as single control when needed,, but,, how this possible in labview,,
actually in my program i have a tab control and,, in that tab control there are 8 pages,, now there are 5 different kind option selection for each page lets say "a" "b" "c" "d" "e",,,,,.,. so,, when i select "a" configuration for tabpage 1 should show.. "a"(control collection) on tabpage1....and,, same should b possible for all 8 pages............................. this can possible if its possible to create user defined contorl in labview
while in .net its very easy task i m confused here,..,.
i put these controls in another 5 different VI,,,, and tried to call in subpanel but,, i dont find the solution,,,
Attachments:
tabcontrol.vi 1 KBHi,
I've tried to open you attachment but LabVIEW tells me it's not a vi... could you check it and repost please ?
I'm not really sure of what you need but you CAN customize you control in LabVIEW, it is not hard, you just have to know how it works
Sometimes being good at another programation language confuse you more than it helps because you try to do as you are used to... the difficulty it to "translate" functions from a language to another.
I do know how frustrating it can be when you think "Damned, it would take me only 5 minutes to do that with language a and after 10 hours with language b it is still not working "
You have to get in LabVIEW way of thinking, I wish you good luck !
A quick exemple... this might not do exactly what you need but it may help you anyway.
When my feet touch the ground each morning the devil thinks "bloody hell... He's up again!"
Attachments:
exemple.vi 55 KB -
Is it possible to create a webservice in APEX 4.0?
I'm planning to use the upcoming APEX 4.0 web service feature for my new project. I would like to know whether it's possible to create web service in the upcoming APEX 4.0. As far I know, APEX can consume web service, but is it possible to create a web service that can be called/consumed by other applications?. any insight on this is appreciated.
Regards,
SuryaHi Surya,
APEX is able to consume Webservices (even in 3.x), to create Webservice you can use "Database Native Web Services" which enables you to publish a stored procedure as a webservice. This feature exists since Database 11g.
brgds,
Peter
Blog: http://www.oracle-and-apex.com
Maybe you are looking for
-
Capturing audio as well as video with a sony AVCHD handycam
Capturing from card inquiry. I am new to CS6. I have a sony HD handycam model HDR XR350VE. I am trying to import my footage from it into CS6 but the audio is not being imported. I have read the instructions (3 different versions of the instructions!)
-
VS2010 Crystal Report Crashes System when using 'Set DataSource Location..'
Runtime ASP.NET 3.5 VS 2010 Under Database Fields (rt click) try Set DataSource Location... causes VS2010 to crash. This is on an imported report from VS2008. VS2008 has no problem with the report. Since this is a ASP.NET 3.5 program the internal pr
-
FB02 does not allow to change Document Header Text
Hi, We are upgrading to ECC 6.00. In T Code FB02 we are not able to change the document header text (BKPF-BKTXT). This feild is grayed out. We have done the necessary configuration in Document Change Rules, Document Header- allowing BKPF-BKTXT for ch
-
Error: The resource did not process correctly. How do I get rid of it?
I continue to receive an error everytime I log in to my college student email. The error says The resource did not process correctly. I desperately need help with this problem the error shows this as well java.lang.NullPointerException
-
For people who use videora video converter
is it just me or does anyone notice that the videos converted using this program are slurred.