Creating user using IDXML

Hi All,
Any idea how can i create user using IDXML, any sample IDXML format to refer for creating a user using IDXML.....
Regards,
Nitin

you can extract an example from a blog post I wrote here:
http://coreidng.blogspot.com/2008/07/oam-identity-xml-idxml-via.html
this presumes that you understand workflow and you have setup a working create user workflow.
I think the developer's guide is pretty good in this area know as well.
hope that helps,
Mark

Similar Messages

  • Cant Create User using Delegated Admin Console

    Hi All,
    ./imsimta version
    Sun Java(tm) System Messaging Server 6.2-3.04 (built Jul 15 2005)
    libimta.so 6.2-3.04 (built 01:30:02, Jul 15 2005)
    Linux nile.jlcc.com 2.6.11-1.1369_FC4 #1 Thu Jun 2 22:55:56 EDT 2005 i686 athlon i386 GNU/Linux
    I configured DA ..and all the things were working fine including the error im facing now..
    for the past two days
    I couldnt create user using DA console..but I can able to create from commadmin
    the log shows..
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    javax.servlet.ServletException: Uncaught exception
         com.iplanet.jato.ApplicationServletBase.onUncaughtException(ApplicationServletBase.java:1415)
         com.sun.comm.da.WizardWinServlet.onUncaughtException(WizardWinServlet.java:98)
         com.iplanet.jato.ApplicationServletBase.fireUncaughtException(ApplicationServletBase.java:1164)
         com.iplanet.jato.ApplicationServletBase.processRequest(ApplicationServletBase.java:639)
         com.iplanet.jato.ApplicationServletBase.doPost(ApplicationServletBase.java:473)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:767)
         com.sun.comm.da.WizardWinServlet.service(WizardWinServlet.java:111)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         java.lang.reflect.Method.invoke(Method.java:585)
         org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
         java.security.AccessController.doPrivileged(Native Method)
         javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
         org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
         java.security.AccessController.doPrivileged(Native Method)
         com.sun.comm.da.LoginFilter.doFilter(LoginFilter.java:128)
    root cause
    com.iplanet.jato.NavigationException: Exception encountered during forward
    Root cause = [java.lang.NullPointerException]
         com.iplanet.jato.view.ViewBeanBase.forward(ViewBeanBase.java:380)
         com.iplanet.jato.view.ViewBeanBase.forwardTo(ViewBeanBase.java:261)
         com.sun.web.ui.view.wizard.CCWizard.handleNextButtonRequest(CCWizard.java:730)
         sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         java.lang.reflect.Method.invoke(Method.java:585)
         com.iplanet.jato.view.command.DefaultRequestHandlingCommand.execute(DefaultRequestHandlingCommand.java:183)
         com.iplanet.jato.view.RequestHandlingViewBase.handleRequest(RequestHandlingViewBase.java:308)
         com.iplanet.jato.view.ViewBeanBase.dispatchInvocation(ViewBeanBase.java:802)
         com.iplanet.jato.view.ViewBeanBase.invokeRequestHandlerInternal(ViewBeanBase.java:740)
         com.iplanet.jato.view.ViewBeanBase.invokeRequestHandlerInternal(ViewBeanBase.java:760)
         com.iplanet.jato.view.ViewBeanBase.invokeRequestHandler(ViewBeanBase.java:571)
         com.iplanet.jato.ApplicationServletBase.dispatchRequest(ApplicationServletBase.java:957)
         com.iplanet.jato.ApplicationServletBase.processRequest(ApplicationServletBase.java:615)
         com.iplanet.jato.ApplicationServletBase.doPost(ApplicationServletBase.java:473)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:767)
         com.sun.comm.da.WizardWinServlet.service(WizardWinServlet.java:111)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         java.lang.reflect.Method.invoke(Method.java:585)
         org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
         java.security.AccessController.doPrivileged(Native Method)
         javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
         org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
         java.security.AccessController.doPrivileged(Native Method)
         com.sun.comm.da.LoginFilter.doFilter(LoginFilter.java:128)
    root cause
    java.lang.NullPointerException
         com.sun.comm.da.view.NewUserSummaryPageViewBean.beginDisplay(NewUserSummaryPageViewBean.java:223)
         com.sun.web.ui.taglib.wizard.CCWizardTag.getWizardPageHTML(CCWizardTag.java:1560)
         com.sun.web.ui.taglib.wizard.CCWizardTag.appendPageletBodyContentHTML(CCWizardTag.java:668)
         com.sun.web.ui.taglib.wizard.CCWizardTag.appendWizardBodyHTML(CCWizardTag.java:658)
         com.sun.web.ui.taglib.wizard.CCWizardTag.getHTMLStringInternal(CCWizardTag.java:469)
         com.sun.web.ui.taglib.common.CCTagBase.doEndTag(CCTagBase.java:114)
         org.apache.jsp.com_005fsun_005fweb_005fui.jsp.wizard.WizardWindow_jsp._jspx_meth_cc_wizard_0(WizardWindow_jsp.java:301)
         org.apache.jsp.com_005fsun_005fweb_005fui.jsp.wizard.WizardWindow_jsp._jspService(WizardWindow_jsp.java:209)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:105)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:336)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:251)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         sun.reflect.GeneratedMethodAccessor131.invoke(Unknown Source)
         sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         java.lang.reflect.Method.invoke(Method.java:585)
         org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
         java.security.AccessController.doPrivileged(Native Method)
         javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
         org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
         java.security.AccessController.doPrivileged(Native Method)
         java.security.AccessController.doPrivileged(Native Method)
         com.iplanet.jato.view.ViewBeanBase.forward(ViewBeanBase.java:340)
         com.iplanet.jato.view.ViewBeanBase.forwardTo(ViewBeanBase.java:261)
         com.sun.web.ui.view.wizard.CCWizard.handleNextButtonRequest(CCWizard.java:730)
         sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         java.lang.reflect.Method.invoke(Method.java:585)
         com.iplanet.jato.view.command.DefaultRequestHandlingCommand.execute(DefaultRequestHandlingCommand.java:183)
         com.iplanet.jato.view.RequestHandlingViewBase.handleRequest(RequestHandlingViewBase.java:308)
         com.iplanet.jato.view.ViewBeanBase.dispatchInvocation(ViewBeanBase.java:802)
         com.iplanet.jato.view.ViewBeanBase.invokeRequestHandlerInternal(ViewBeanBase.java:740)
         com.iplanet.jato.view.ViewBeanBase.invokeRequestHandlerInternal(ViewBeanBase.java:760)
         com.iplanet.jato.view.ViewBeanBase.invokeRequestHandler(ViewBeanBase.java:571)
         com.iplanet.jato.ApplicationServletBase.dispatchRequest(ApplicationServletBase.java:957)
         com.iplanet.jato.ApplicationServletBase.processRequest(ApplicationServletBase.java:615)
         com.iplanet.jato.ApplicationServletBase.doPost(ApplicationServletBase.java:473)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:767)
         com.sun.comm.da.WizardWinServlet.service(WizardWinServlet.java:111)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         java.lang.reflect.Method.invoke(Method.java:585)
         org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
         java.security.AccessController.doPrivileged(Native Method)
         javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
         org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
         java.security.AccessController.doPrivileged(Native Method)
         com.sun.comm.da.LoginFilter.doFilter(LoginFilter.java:128)
    Please Help me on this..
    Ashik

    you may want to post this to the email forum.

  • Create user using ldapmodify

    Hi,
    I was trying to use below to create user "test1000" but could not succeed and getting error. I want to create users using DS CLI.
    ./ldapmodify -h webmail.example.com -p 389 -D "cn=Directory Manager" -w admin123
    dn: uid=test1000,ou=People,o=example.com,dc=example,dc=com
    changetype: modify
    add: uid
    objectClass: top
    objectClass: person
    objectClass: organizationalPerson
    objectClass: inetorgperson
    objectClass: inetUser
    objectClass: inetSubscriber
    uid: test1000
    givenName: test1000
    sn: t1000
    mailUserStatus: active
    mail: [email protected]
    mailHost: webmail.example.com
    userPassword: test@1000
    Please advise me where i'm doing mistake
    TIA,
    Regards,
    Praveen RK

    Adding an user through the command line works usually like this:
    $ ./ldapmodify -l localhost -p 389 -D "cn=Directory Manager" -w - <<\!
    dn: uid=ACapone,ou=People, dc=example,dc=com
    changetype: add
    givenName: Al
    sn: Capone
    telephoneNumber: 123456789
    mail: [email protected]
    facsimileTelephoneNumber: 987654321
    objectClass: top
    objectClass: person
    objectClass: organizationalPerson
    objectClass: inetorgperson
    uid: ACapone
    cn: Al Capone
    userPassword: password
    Enter bind password:
    adding new entry uid=ACapone,ou=People, dc=example,dc=com
    $
    For each attribute you want to add you also need to add the objectclass that attribute belongs to - otherwise you will get "Object class violation" errors. In your case you need to add "objectclass: inetLocalMailRecipient" for attribute 'mailHost' and "objectclass: inetMailUser" for attribute 'mailUserStatus'.
    Stefan

  • Error while Creating user using Custome form

    Hi,
    I created a custom form same as create user form
    updated in xlDefaultAdmin.properties,xlWebAdmin_en_US.properties,struts-config.xml
    on this custom every thing is working fine but when on submit(Create User) it gives me below error
    in Admin Console : You do not have permissions to perform this operation.
    in App server log: maoRejections:You do not have permission to insert this object.

    My response is based on the following assumptions:
    Your custom form is similar to that of CreateUser form in all manners. The logic at the back-end has been written by you as well. As soon as you get all the values you call the createUser API of OIM to create the user. You have wriiten your custom action classes as well.
    The insert error may be due to the reason that the user which you are using to create the user doesn't have sufficient permissions. In other words, if this is done through Java code then while instaniating the API, the user used must be missing these permissions.
    If the error is due to this permission for users then we can give these additional permissions to individual users, if in case its not and you have some other scenario then just give me more details, probably I can help you for it.
    Thanks
    Sunny

  • Error While creating User using userservcenter Webservice

    Hi All,
    I have generated the java client stub from the um_workflowSaveCreateProfile.wsdl file successfully and I have developed one client code to call the web service to create user in Oracle Internet Directory.
    I am invoking one workflow for creation of the user which accepts four attributes (sn, cn, uid, userPassword),it is working fine when sn, cn, uid attributes are mandatory only, but if I make userPassord as mandatory, it is showing me error : Not all of the required parameters for this operation were specified.
    I am using the below client Code to call the service:
    package com.example;
    import java.util.Properties;
    import org.apache.axis.AxisFault;
    import com.oblix.CreateUser.*;
    public class CreateUserClient {
    public static void main(String Args[]) throws AxisFault{
    try{
    OblixIDXML_um_workflowSaveCreateProfile_ServiceLocator loc = new OblixIDXML_um_workflowSaveCreateProfile_ServiceLocator();
    OblixIDXMLPortType port = loc.getOblixIDXML_um_workflowSaveCreateProfile_Port();
    Authentication myauth = new Authentication();
    myauth.setLogin("orcladmin");
    myauth.setPassword("1111Aaaa");
    Request myrequest = new Request();
    myrequest.setFunction("workflowSaveCreateProfile");
    myrequest.setApplication("userservcenter");
    myrequest.setVersion("NPWSDL1.0");
    RequestParams myparams = new RequestParams();
    myparams.setObDomainName("dc=ad,dc=company,dc=com");
    //myparams.setObWorkflowName("obworkflowid=wfqs20090206T1424241321438,obcontainerId=workflowDefinitions,o=Oblix,dc=ad,dc=company,dc=com");
    myparams.setObWorkflowName("obworkflowid=wfqs20090206T170318571544,obcontainerId=workflowDefinitions,o=Oblix,dc=ad,dc=company,dc=com");
    java.math.BigInteger myint2 = new java.math.BigInteger("4");
    myparams.setNoOfFields(myint2);
    AttributeParams attributeParams = new AttributeParams();
    GenericAttribute []genericAttribute = new GenericAttribute[10];
    GenericAttribute mygenericattr = new GenericAttribute();
    mygenericattr.setAttrName("cn");
    mygenericattr.setAttrOperation("ADD");
    String[] cn = {"Akshay"};
    mygenericattr.setAttrNewValue(cn);
    genericAttribute[0] = mygenericattr;
    GenericAttribute mygenericattr1 = new GenericAttribute();
    mygenericattr1.setAttrName("sn");
    mygenericattr1.setAttrOperation("ADD");
    String[] sn = {"koul"};
    mygenericattr1.setAttrNewValue(sn);
    genericAttribute[1] = mygenericattr1;
    GenericAttribute mygenericattr3 = new GenericAttribute();
    mygenericattr3.setAttrName("uid");
    mygenericattr3.setAttrOperation("ADD");
    String[] uid = {"akshay_koul"};
    mygenericattr3.setAttrNewValue(uid);
    genericAttribute[2] = mygenericattr3;
    PasswordAttribute []pwdatrarr= new PasswordAttribute[1];
    PasswordAttribute pwdatr= new PasswordAttribute();
    pwdatr.setAttrName("userPassword");
    pwdatr.setAttrOperation("ADD");
    pwdatr.setAttrNewValue("abcd1234");
    pwdatr.setAttrConfirmValue("abcd1234");
    pwdatrarr[0] = pwdatr;
    System.out.println("the pwd is"+pwdatrarr.toString());
    attributeParams.setGenericAttribute(genericAttribute);
    attributeParams.setPasswordAttribute(pwdatrarr);
    myparams.setAttributeParams(attributeParams);
    myrequest.setParams(myparams);
    Oblix output = port.oblixIDXML_um_workflowSaveCreateProfile(myauth, myrequest);
    System.out.println("result of the request\n");
    System.out.println();
    //System.out.println("test:"+output.getObError().getObStatus());
    // System.out.println("test1:"+output.getObError().getObRequestInfo());
    System.out.println("test2:"+output.getObError().getObTextMessage()[0].toString());
    System.out.println("test2:"+output.getObError().getObTextMessage()[0]);
    System.out.println("test3:"+output.getObError().getObTextMessage(0));
    System.out.println("status is " + output.getObStatus());
    }catch(Exception e){
    System.out.println("the exception is:"+e.getMessage());
    e.printStackTrace();
    Please suggest me where i am wrong !!!
    Thanks in Advance
    Akshay

    Hi,
    I guess, create workflow does not accept the password attribute while creating user account.
    You have to create the account using createprofile web service then update the password using changeprofile web service.
    I think this limitation is strategic, if you have password policies enabled, policies are applied to the container of the accounts.
    So OAM needs to have the DN of the user account to check if there are any password policies associated with the container during password updates,
    which might not be possible while using createProfile web service.
    - Sandeep

  • Creating users using custom made class/UI in portal

    This is what i have to achieve,
    I need to create an interface in portal which will,
    1. Create users in the OID where the users extend a class which i have created in OID with my custom attributes.
    2. Then create them in portal and then assign them to default groups which will depend on a parameter in the user creation form.
    From reading various documents in Metalink and OTN i have understood that the wwsec_api package allows us to do all this except that it is all for a user which will extend a predefined set of classes.
    So i decided to do this
    1.Make entries into the OID using the DBMS_LDAP package using commands like
    emp_vals(1) := p_first_name;
    DBMS_LDAP.populate_mod_array(emp_array,DBMS_LDAP.MOD_ADD,'firstName',emp_vals);
    retval := DBMS_LDAP.add_s(emp_session,emp_dn,emp_array);
    2.Fire the wwsec_api.add_portal_user to create the portal user and then activate and assign him to the default group after running the provsyns.sql file
    The problem i face is that i get errors when i execute the said procedure from any other schema other than portal.
    When the procedure is recreated in the portal schema and executed it works fine.
    So i decided to create the entire package in the portal schema itself.
    Now the problem i face is that the proc would execute fine on the sql prompt but fail when called from the form created in portal based on this procedure.
    I found out that the execution fails when the wwsec_api.xxx calls are made.
    The exceptions are not specific and have the error code 1 => user defined exception
    To have a workaround for this i directly inserted into the wwsec_person$ table with no values for the GUID column( I know this is not recommended but i gave it a try)
    The insert worked fine but i still had to set his default group.I tried updating the rows for the user to set the default_group column but there seems to be a trigger on it which causes the update to fail.
    Also when i check up the wwsec_person$ table there two rows for each user that i created ,one without the GUID/default_group and the other with the GUID/default_group.I guess this is because of the trigger.
    If i try using the wwsec_api.set_defaultgroup api, the proc fails.
    It is quite interesting to note that all the steps mentioned above, grant access to the user to portal.
    But the place it fails is while setting the default group for the same which is of prime importance to me.
    Also because I am inserting directly into the tables i have also to delete them when the user is deleted, this is because i again cannot execute the delete_portal_user in the wwsec_api package from the browser.
    Surprisingly the wwsec_api.create_list function works fine.
    Once i have created the users all the manipulations like changing group memberships etc become easy as i just modify the required details in the OID itself.
    What i need is a proper/safe way to do what i have just mentioned above.
    Please help out ASAP as this is urgent.
    Regards,
    KK

    Based on your requirements, you should go about things a little differently...
    You have written your custom DBMS_LDAP code to create and populate the user entry including your custom objectclasses - good.
    You don't need to create the user profile in the Portal schema at all.
    To set the default group, just set the orcldefaultprofilegroup attribute in the user entry in OID. This should be set to the DN of the default group.
    When the user logs on, his profile will automatically be created, and the default group will also sync up with the user entry in OID (patch required - 2830252).
    Also, you should have DIP provisioning running so that updates to the orcldefaultprofilegroup attribute in OID are subsequently conveyed to the portal schema. It will also take care of automatically deleting the user profile from the portal if the user is removed from OID.
    Please see the Portal Configuration Guide on how to enable and activate the Directory Integration Platform (DIP) provisioning integration between OID and Portal

  • Creating user using database link

    Hi
    I have 11g installed on one of the server
    I have created the database link BUGAU to bugau.us.oracle.com
    link works fine
    select * from table@"Bugau" gives the expected result
    I need run the below statement from my server using the dblink.but not sure how to use the dblink for this purpose.Please assit
    CREATE USER ABC IDENTIFIED BY welcome DEFAULT TABLESPACE USERS_001 TEMPORARY TABLESPACE temp123;
    GRANT DEFAULT TO abc;
    ALTER USER abc PROFILE LEVEL_1;
    Thanks
    Archana

    as mentioned in oracle documentation for db link purpose: you can use it for accessing schema objects in remote database..
    http://download.oracle.com/docs/cd/B28359_01/server.111/b28286/statements_5005.htm
    >
    Use the CREATE DATABASE LINK statement to create a database link. A database link is a schema object in one database that enables you to access objects on another database. The other database need not be an Oracle Database system. However, to access non-Oracle systems you must use Oracle Heterogeneous Services.
    After you have created a database link, you can use it in SQL statements to refer to tables and views on the other database by appending @dblink to the table or view name. You can query a table or view on the other database with the SELECT statement. You can also access remote tables and views using any INSERT, UPDATE, DELETE, or LOCK TABLE statement.
    >
    For creating users, you have to login to the remote database itself, You also need to login using the user who has the necessary credentials to create the user.
    Regards,
    Dipali.

  • Cannot create user using Web Site Administration Tool with Oracle Express

    Hello,
    I am following the tutorial here to add roles/memberships/profiles etc. using the Oracle providers supplied by Oracle:
    http://www.oracle.com/technology/obe/11gr2_db_prod/appdev/dotnet/aspprovider/aspprovider_otn.htm?_template=/ocom/print
    This tutorial fails at step 7: When I click Create user (on the security tab) the web page brings me to a page that says:
    "An error was encountered. Please return to the previous page and try again."
    Does anyone have any idea why this is happening?
    Also, does anyone know if log files are created that I may take a look at to get more details about the error?
    Thank you,
    John DeAngelis

    Hi John,
    This is the forum for the Oracle Provider for OLE DB. You may want to post your question the forum for Oracle Providers for ASP.NET.
    Oracle Providers for ASP.NET
    as it will be seen by a wider audience using that product.
    J.B.

  • Creating user using GPP after MS14-025

    Hi all,
    I've been using GPP for creating local users but after MS14-025 update and removing cpassword from Groups.xml I get an  error about new user password does not meet the password policy requirements. Do you know how to get it? I've created an script for
    setting the password but I need to use the GPP for creating the user, not create it using the script
    Thanks

    Hi,
    You can see how the MS14-025 work from the below article:
    MS14-025: An Update for Group Policy Preferences
    http://blogs.technet.com/b/srd/archive/2014/05/13/ms14-025-an-update-for-group-policy-preferences.aspx
    Hope this helps.
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • How to create user using Form Builder

    How can use Oracle Developer2000 Form6 to create user in database (oracle 8i) from Trigger of Form6. I've try to use statement "create user ..... identified by ...." in PL/SQL editor of When-Button-Pressed trigger and it had complilation error with that statement.

    Probably best not to create the user directly from Forms.
    Create a DB Package with a procedure to create a user. This proc should take, e.g. username & password as parameters (& maybe other things - default tablespace, etc.):
    PROCEDURE cre_user(p_username VARCHAR2, p_password VARCHAR2) IS
    BEGIN
    EXECUTE IMMEDIATE('CREATE USER '||p_username||' IDENTIFIED BY '||p_password);
    END cre_user;
    Give the package the correct user creation privileges & DEFINER or INVOKER s rights.
    Grant EXECUTE on the package (or its SYNONYM) to the appropriate end-users
    Finally, call the packaged procedure from your Form with the appropriate parameters.
    If you need to return info. to the Form, use OUT parameters.
    Also, consider the security implications of sending the password in an unencrypted form.

  • Create user using CATT script

    hi,
    I have done catt script to create user in BW 3.5 ... now I am trying to crete the same script in BW 7.0......
    I have created catt script using SECATT transaction....
    I download the varient to .txt file
    [VARIANT] [DESCRIPTION] ZTEST898
    BDC field value
    *ECATTDEFAULT ztest898
    If I pass parameter directly , the script executing fine ...
    If I try to pass parameters through .....txt file ... it is giving error
    Variants that Match Selection Cannot Be Found
    help me please.
    Regards
    Ben

    1. Create a text file with the UDML to create a new user(s):
    DECLARE USER "NewUser" AS "NewUser" UPGRADE ID 1 FULL NAME {New User} PASSWORD '' PERIODICITY 90
         HAS ROLES (
              "Administrators",
              "XMLP_ADMIN" )
         DESCRIPTION {password = Empty}
         PRIVILEGES ( READ);
    Merge it with your your current repository using nQUDMLExec.exe
    E:\OracleBI\server\Bin>nQUDMLExec.exe -U Administrator -P Administrator -I E:\temp\NewUser.txt -B E:\temp\paint.rpd -O e:\temp\newrep.rpd
    Regards John
    http://obiee101.blogspot.com/

  • Create user using Script

    Hi
    Does any body know how to create user in BI answers using any Script?
    Thanks.

    1. Create a text file with the UDML to create a new user(s):
    DECLARE USER "NewUser" AS "NewUser" UPGRADE ID 1 FULL NAME {New User} PASSWORD '' PERIODICITY 90
         HAS ROLES (
              "Administrators",
              "XMLP_ADMIN" )
         DESCRIPTION {password = Empty}
         PRIVILEGES ( READ);
    Merge it with your your current repository using nQUDMLExec.exe
    E:\OracleBI\server\Bin>nQUDMLExec.exe -U Administrator -P Administrator -I E:\temp\NewUser.txt -B E:\temp\paint.rpd -O e:\temp\newrep.rpd
    Regards John
    http://obiee101.blogspot.com/

  • Creating users using portal30.wwsec_api_add_portal_user

    I am running 3.0.9.8.2 on 9.0.1 on Windows 2000.
    I have attempted to create a portal user using portal30.wwsec_api.add_portal_user (run as portal30). I then attempt to activate the account using portal30.wwsec_api.activate_portal_user. However, although both execute successfully, when I login as portal30, I can't see the user I have just created.
    Also, if I attempt to run the routine again, the portal30.wwsec_api.user_exists_exception is raised (which makes sense but doesn't solve the problem).
    Any ideas? Am I missing something fundamental?
    Also, is the initial password set to the username when this routine is used?
    Thanks for your help,
    Gillian

    I change the code to include "portal30.wwctx_api.get_user()" that way I know now that the user without login is "PUBLIC" so I change the permissions to include ANY_USERS/CREATE and ANY_GROUP/MANAGE but I'm still receiving the "portal30.wwsec_api.access_denied_exception" exception.
    What else can I do?
    Regards
    Alejandro Chirinos
    [email protected]

  • Create user using stored-procedures

    Would anyone know of a way to create a user and assign role(s) using stored-procedures from a DOS shell? With MS SQL, one could issue the following commands from the DOS shell to connect to the database engine (osql -ULoginID -PPassword) and then "sp_addlogin loginid password". Additionally, can it be used in a VB app?
    Your help is much appreciated.
    tk

    yes, in the code editor.
    Auto-completion suggestions as you type?

  • How to create user using ESSCMD

    <p>hi</p><p>i am wondering</p><ul><li>How to add users ESSCMD</li><li>how can i provide users with external authentication</li></ul><p>thanks for your time.</p><p> </p>

    I would suggest using MaxL, not Esscmd. Here is a sample from the online help.<BR>With MaxL, you can pass in parameters using 1 script instead of creating multiple Esscmd scripts.<BR><BR>create or replace user Fred type external with protocol 'LDAP' identified by 'cn=Engineers, ou=Groups, dc=yahoo, dc=com';<BR><BR>Creates a user called Fred who is externally authenticated with the LDAP protocol.<BR>

Maybe you are looking for

  • I lost my iPod at school and I found the Serial Number. How can i find it?

    I can't find my Ipod touch 5th Gen. I lost it at school. How can I find it? I have the Serial Number.

  • Urgent  Doubt in 3rd party

    Hi, In 3rd party, the customer sales information How to track the Vendor. And how to find the vendor delivery qty how to settled the Accounts How to settled the return materials to vendor Thanks for advace pls urgent Regards Rao

  • Screen dimming

    hey, i'm going to hook my macbook to my HDTV via the DVI adapter and then HDMI to the TV. My question is this: My Macbook has a screen dimming function, whether it's plugged into a wall socket or not after a short time of no operation the screen goes

  • Why won't my macbook connect to my epson xp-300?

    It finds the printer, but whenever i start to print, it pauses and won't let me resume

  • MacBook Outside Melting due to heat?

    Hello there, My MacBook was doing just fine, until this morning when I noticed somthing unusual. The side (if the screen was down, and you looked at it leveled) left to the touch pad had begun to deform and have two "curves." I have only had my MacBo