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/

Similar Messages

  • Urgent - How to Run a FM using CATT script tool,

    Hi All,
    How to Run a FM using CATT script tool,
    Thanks in advance,
    KSR

    choose  type as "Function module test" (if you are in release less than 6.4 abap) after entering into t.code SCAT.
    Pl. refer to this documentation for creating function module test cases
    <a href="http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCCATTOL/CACATTOL.pdf">http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCCATTOL/CACATTOL.pdf</a>
    reward if it helps
    Krishna

  • 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.

  • 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.

  • 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

  • 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

  • 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/

  • Only the last account is created when using this script in combination with a CSV

    Hi, I've got a weird problem when using this script:
    $Users = Import-Csv -Delimiter ";" -Path "......csv"  
    FOREACH ($User in $UserList) { $ User }
        $OU = $User.path
        $UPN = $User.UPN
        $Password = $User.password 
        $Detailedname = $User.firstname + " " + $User.Lastname 
        $UserFirstname = $User.Firstname 
        $FirstLetterFirstname = $UserFirstname.substring(0,1) 
        $SAM =  $User.UPN
        $Company = $User.company
        $Description = $User.description
        $AccountExpirationDate = $User.accountexpirationdate
    $params = @{ 'Name'=$Detailedname;
                 'SamAccountName'=$SAM;
                 'UserPrincipalName'=$SAM;
                 'DisplayName'=$Detailedname;
                 'GivenName'=$UserFirstname;
                 'Surname'=$User.Lastname;
                 'AccountPassword'=(ConvertTo-SecureString $Password -AsPlainText -Force);
                 'Enabled'=$True;
                 'PasswordNeverExpires'=$True;
                 'Path'=$OU;
                 'Company'=$Company;
                 'Description'=$Description;
                 'AccountExpirationDate'=$AccountExpirationDate }
    New-ADUser @params
    The CSV file has columns with the name: Lastname;Firstname;Password;Company;Description;UPN;path;AccountExpirationDate
    Script runs without errors, but only creates the last line in the CSV file. Anyone that can help me, of put me in the right direction? Should be great!
    Michiel
    the Netherlands

    Hi Michiel,
    You'll need to move $params and New-ADUser up into the foreach loop.
    EDIT: Also, remove the { $ User } that you have next to the foreach loop. You're also using $Users instead of $UserList.
    EDIT2: Here's a cleaned up version:
    $UserList = Import-Csv -Delimiter ";" -Path "......csv"
    FOREACH ($User in $UserList) {
    $OU = $User.path
    $UPN = $User.UPN
    $Password = $User.password
    $Detailedname = $User.firstname + " " + $User.Lastname
    $UserFirstname = $User.Firstname
    $FirstLetterFirstname = $UserFirstname.substring(0,1)
    $SAM = $User.UPN
    $Company = $User.company
    $Description = $User.description
    $AccountExpirationDate = $User.accountexpirationdate
    $params = @{ 'Name'=$Detailedname;
    'SamAccountName'=$SAM;
    'UserPrincipalName'=$SAM;
    'DisplayName'=$Detailedname;
    'GivenName'=$UserFirstname;
    'Surname'=$User.Lastname;
    'AccountPassword'=(ConvertTo-SecureString $Password -AsPlainText -Force);
    'Enabled'=$True;
    'PasswordNeverExpires'=$True;
    'Path'=$OU;
    'Company'=$Company;
    'Description'=$Description;
    'AccountExpirationDate'=$AccountExpirationDate
    New-ADUser @params
    Don't retire TechNet! -
    (Don't give up yet - 13,085+ strong and growing)

  • 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>

  • 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

  • Create user/schema is script, then tables for that user/schema

    Hi;
    First off, if I phrase this a little wrong - I'm from the Sql Server world and still trying to totally understand Oracle.
    I have a schema (.sql file) that creates my database fine. But what I would liek to add to the .sql schema is for it to create a user and then place all the tables, indexes, sequences, and triggers in as belonging to that created user.
    This way we can tell people to log in as sysop and run the script to create the schema rather than create the user, log in as the user, then run the script.
    What do I need to add?
    thanks - dave

    Hi;
    I have tried:
    CREATE USER DAVE IDENTIFIED BY password;
    CONNECT DAVE/password AS SYSDBA
    I have also tried:
    CONNECT DAVE/password AS SYSTEM
    CONNECT DAVE AS SYSDBA
    CONNECT DAVE
    In all cases ApplicationExpress says it does not recognize the CONNECT command. Should I do something different? What I want to accomplish is that all subsequent commands in the script creating tables, indexes, etc are assigned to the user/schema DAVE.
    thanks - dave

  • How to create database using shell script

    hai
    how to create database using shell script

    The documentation details the steps to create a database manually. Another option is to use DBCA to create the scripts. DBCA will give you a complete set of scripts that will create a database.
    http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14231/create.htm#sthref220

  • 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.

Maybe you are looking for

  • How to convert My trial version of Acrobat X pro into permanent(how to buy licence for it ))

    hi, i downloaded a trail version of acrobat x pro on 3rd may 2011...........i want to convert it to permanent version.....how to do it. How to convert My trial version of Acrobat X pro into permanent(how to buy licence for it ) someone please help

  • Itunes won't import mp3's from my iAudio u2

    Hello, I have an iBook G4 with iTunes 6. I just purchased the iAudio u2 and successfully used it to record a 3 hour file of music that I "lined-in" from my CD player. My next step was going to be to copy the mp3 file to my computer, but I can't get i

  • IMovie 10.0.2 crashes while exporting

    I've read that it helps to delete the Library in order to get it running again. Could anybody let me know where I can finde the Library (I don't want to delete the wrong one) and let me know whether it will rebuild properly? Cheers Zuse

  • Capture aborted

    The streams were set up for about 100 tables. Everything was going OK for a few days, but then the capture failed. The corresponding log fragment is given below. *** SESSION ID:(28.50617) 2003-07-07 13:05:56.000 *** 2003-07-07 13:05:56.000 ksedmp: in

  • Every version of Safari does this and I'm so annoyed

    I do music and video. I check and view video clips all day using Safari. In every version of Safari starting and stopping the video by the space bar stops functioning after a while. Also the ability to adjust the volumn with the arrow keys. Every ver