Steps Involved in creating Users thru the API

Hi Mark or anybody from Oracle,
Your solution to build a string for the
XML and then parse it is ok. However I would
like to do it programmatically instead of building strings containing the XML.
What are the steps and exactly what attributes do you need to set for the User
to be created programmatically.
Here is the steps I have and It's giving me
the following exception: IFS-30002 - Unable to create new library object.
The objects needed to create a user are:
1) DirectoryUserDef + set its attributes
2) Folder Definition for User folder then add
to parent folder in this case /home
3) PrimaryProfileUserDefinition + set its attributes DirectoryUser and HomeFolder ?
Can you elaborate on the exact steps to take
and exact attributes to set.
Thanks
null

#1 I would strongly recommend the XML based approach. It's much easier, and if we change the way the user / directory objects are organized in much less likely to require you to alter your code.
Note that in order to create the objects programatically you're going to have to make sure that you have set ACLs and Owners correctly. It really is quite a complex process.
At some later date we 'may' provide a simple Java API for creating users.
In order to understand your error I need to catch the exception and print the stack trace as per the end of my code example for creating a user from an XML string.
Please post the results of the stack trace and someone will attempt to respond to you.

Similar Messages

  • All the steps involved in creating user attributes

    where is it documented on how to create user attributes that are stored in the ldap?
    I created a jspprovider channel, and I can get data out of the user attributes in the samplecontent.jsp by:
    JSPProvider p = (JSPProvider)pageContext.getAttribute("JSPProvider");
    SSOTokenManager mgr = SSOTokenManager.getInstance();
    SSOToken token = mgr.createSSOToken(request);
    AMStoreConnection dpc = new AMStoreConnection(token);
    String name = token.getPrincipal().getName();
    AMUser user = dpc.getUser(name);
    Map attMap = user.getAttributes();
    Collection valueCollection = attMap.values();
    Iterator valueIterator = valueCollection.iterator();
    int iSize = attMap.size();
    Set attKeySet = attMap.keySet();
    Iterator keyIterator = attKeySet.iterator();
    and then iterate through to display them all.
    I then tried to store a value using the sampledoedit.jsp file:
    JSPProvider p = (JSPProvider)pageContext.getAttribute("JSPProvider");
    SSOTokenManager mgr = SSOTokenManager.getInstance();
    SSOToken token = mgr.createSSOToken(request);
    AMStoreConnection dpc = new AMStoreConnection(token);
    String name = token.getPrincipal().getName();
    AMUser user = dpc.getUser(name);
    String aname = request.getParameter("attributeName");
    Object aval = request.getParameter("attributeValue");
    HashMap attMap = new HashMap();
    attMap.put(aname,aval);
    user.setAttributes(attMap);
    user.store(true);
    response.sendRedirect((String)pageContext.getAttribute("url"));
    For whatever reason, I get an error, and in the debug I just get couldn't set attributes.
    Then, when I try to retreive the list of attributes, the new name/value pair is created, but the value is blank.....
    Any ideas? Or a link on a step by step process on how to create user attributes?

    BTW, here is the error I get in the debug log:
    01/06/2005 12:43:47:232 PM AST: Thread[service-j2ee,5,main]
    ERROR: DesktopServlet.handleException()
    com.sun.portal.providers.ProviderException: JSPProvider.processJSPFile(): jsp=doedit.jsp, com.sun.portal.providers.ProviderException: JSPProvider.processJSPFile(): jsp=sampledoedit.jsp, com.iplanet.am.sdk.AMException: Unable to set attribute(s) com.sun.portal.desktop.taglib.DesktopTaglibException: JSPProvider.processJSPFile(): jsp=sampledoedit.jsp,
    at com.sun.portal.providers.jsp.JSPProvider.processJspFile(JSPProvider.java:880)
    at com.sun.portal.providers.jsp.JSPProvider.processJspFile(JSPProvider.java:777)
    at com.sun.portal.providers.jsp.JSPProvider.processEdit(JSPProvider.java:673)
    at com.sun.portal.desktop.DesktopServlet.doGetPost(DesktopServlet.java:644)
    at com.sun.portal.desktop.DesktopServlet.service(DesktopServlet.java:320)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
    at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:771)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:322)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:209)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
    at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:161)
    at com.iplanet.ias.web.WebContainer.service(WebContainer.java:586)
    com.sun.portal.providers.ProviderException: JSPProvider.processJSPFile(): jsp=sampledoedit.jsp, com.iplanet.am.sdk.AMException: Unable to set attribute(s) com.sun.portal.desktop.taglib.DesktopTaglibException: JSPProvider.processJSPFile(): jsp=sampledoedit.jsp,
    at com.sun.portal.desktop.taglib.provider.ProcessEditTag.doStartTag(ProcessEditTag.java:28)
    at jsps.etc._opt._SUNWps._desktop._AnyWarePortal_en_CA._JSPEditContainer._html._doedit_jsp._jspService(_doedit_jsp.java:193)
    at com.sun.portal.providers.jsp.jasper3.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
    at com.sun.portal.providers.jsp.JspServletWrapper.service(JspServletWrapper.java:182)
    at com.sun.portal.providers.jsp.JSPProvider.processJspFile(JSPProvider.java:863)
    at com.sun.portal.providers.jsp.JSPProvider.processJspFile(JSPProvider.java:777)
    at com.sun.portal.providers.jsp.JSPProvider.processEdit(JSPProvider.java:673)
    at com.sun.portal.desktop.DesktopServlet.doGetPost(DesktopServlet.java:644)
    at com.sun.portal.desktop.DesktopServlet.service(DesktopServlet.java:320)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
    at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:771)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:322)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:209)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
    at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:161)
    at com.iplanet.ias.web.WebContainer.service(WebContainer.java:586)
    com.sun.portal.providers.ProviderException: JSPProvider.processJSPFile(): jsp=sampledoedit.jsp, com.iplanet.am.sdk.AMException: Unable to set attribute(s)
    at com.sun.portal.providers.jsp.JSPProvider.processJspFile(JSPProvider.java:880)
    at com.sun.portal.providers.jsp.JSPProvider.processJspFile(JSPProvider.java:777)
    at com.sun.portal.providers.jsp.JSPProvider.processEdit(JSPProvider.java:673)
    at com.sun.portal.desktop.taglib.provider.ProcessEditTag.doStartTag(ProcessEditTag.java:26)
    at jsps.etc._opt._SUNWps._desktop._AnyWarePortal_en_CA._JSPEditContainer._html._doedit_jsp._jspService(_doedit_jsp.java:193)
    at com.sun.portal.providers.jsp.jasper3.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
    at com.sun.portal.providers.jsp.JspServletWrapper.service(JspServletWrapper.java:182)
    at com.sun.portal.providers.jsp.JSPProvider.processJspFile(JSPProvider.java:863)
    at com.sun.portal.providers.jsp.JSPProvider.processJspFile(JSPProvider.java:777)
    at com.sun.portal.providers.jsp.JSPProvider.processEdit(JSPProvider.java:673)
    at com.sun.portal.desktop.DesktopServlet.doGetPost(DesktopServlet.java:644)
    at com.sun.portal.desktop.DesktopServlet.service(DesktopServlet.java:320)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
    at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:771)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:322)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:209)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
    at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:161)
    at com.iplanet.ias.web.WebContainer.service(WebContainer.java:586)
    com.iplanet.am.sdk.AMException: Unable to set attribute(s)
    at com.iplanet.am.sdk.AMDirectoryManager.processInternalException(AMDirectoryManager.java:247)
    at com.iplanet.am.sdk.AMDirectoryManager.setAttributes(AMDirectoryManager.java:2151)
    at com.iplanet.am.sdk.AMCacheManager.setAttributes(AMCacheManager.java:867)
    at com.iplanet.am.sdk.AMObjectImpl.store(AMObjectImpl.java:1573)
    at jsps.etc._opt._SUNWps._desktop._AnyWarePortal_en_CA._WebFolders._html._sampledoedit_jsp._jspService(_sampledoedit_jsp.java:118)
    at com.sun.portal.providers.jsp.jasper3.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
    at com.sun.portal.providers.jsp.JspServletWrapper.service(JspServletWrapper.java:182)
    at com.sun.portal.providers.jsp.JSPProvider.processJspFile(JSPProvider.java:863)
    at com.sun.portal.providers.jsp.JSPProvider.processJspFile(JSPProvider.java:777)
    at com.sun.portal.providers.jsp.JSPProvider.processEdit(JSPProvider.java:673)
    at com.sun.portal.desktop.taglib.provider.ProcessEditTag.doStartTag(ProcessEditTag.java:26)
    at jsps.etc._opt._SUNWps._desktop._AnyWarePortal_en_CA._JSPEditContainer._html._doedit_jsp._jspService(_doedit_jsp.java:193)
    at com.sun.portal.providers.jsp.jasper3.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
    at com.sun.portal.providers.jsp.JspServletWrapper.service(JspServletWrapper.java:182)
    at com.sun.portal.providers.jsp.JSPProvider.processJspFile(JSPProvider.java:863)
    at com.sun.portal.providers.jsp.JSPProvider.processJspFile(JSPProvider.java:777)
    at com.sun.portal.providers.jsp.JSPProvider.processEdit(JSPProvider.java:673)
    at com.sun.portal.desktop.DesktopServlet.doGetPost(DesktopServlet.java:644)
    at com.sun.portal.desktop.DesktopServlet.service(DesktopServlet.java:320)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
    at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:771)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:322)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:209)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
    at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:161)
    at com.iplanet.ias.web.WebContainer.service(WebContainer.java:586)

  • Creating users thru GTC

    Hi,
    we are working on 2 OIM 9.1 machines, where we need to create users present in one OIM to other OIM instance through the use of SPML web services. not thru reconciliation.
    Host A contains an OIM server installed. A generic connector (GTC) is defined here.
    Host B is the target where another OIM server is installed wherein users must be created. This users so created are the ones which are already present in Host A.
    A webservice (axis) is installed here.
    So basically we need to send the users from host A to host B through SPML web services.
    I am stuck on how to create users into the target machine, thru the use of this GTC?
    Can anyone help me regarding this?
    Thanks in advance

    There are several ways of implementing security. You still can use the default Oracle users and let the database do the security. But you have to use database roles with passwords to shield off any unwanted actions outside the application. You have to grant access on the database objects to the database role. The role is also granted to the user (but is not a default role).
    In the application, after succesfully logon, you have to set the role and thus enabling the user to access the tables, views and other objects.
    There is more information about implementing security in the database manuals. For Oracle 8i (8.1.6) you can find it here: http://technet.oracle.com/doc/oracle8i_816/appdev.816/a76939/adg12sec.htm
    By the way it is possible to shield off the use of SQL*Plus in SQL*Plus itself. See also the above mentioned documentation for more info on that.
    null

  • While creating Projects Using the API, get two errors: 'Customer name must be passed' and 'class category is invalid'

    Hi
    While trying to Create Projects using the API, I'm getting two types of errors -
    The first is : 'API failed in one stage 1 Customer Name is a mandatory Quick Entry field. Value must be passed'
    The second is : '
    'API failed in one stage 1 Project: '<Project_Number>'
    The class category is invalid.'
    Both the messages are produced by our custom program. .. however I am not able to understand why the underlying errors occur.
    The first error ( Customer Name is a mandatory quick entry field), is caused by Projects that are to be created from Project templates where it is configured with Quick Entry Customer Name required. We are passing Customer Site number ( Party Bill to site number and Party Ship to side number). The site numbers being passed are also set as 'Primary'. Yet they are failing.
    For the second Error ( The Class Category is invalid), I rechecked multiple times, the Class categories for the Projects I am trying to create, with the Config in R12 and they are fine. Can't understand the reason for these two issues. Has anyone encountered such an issue ? If so how was it resolved?
    Regards
    Vivek

    HI All
    I resolved both the issues. In case there are others facing similar issues, following was the cause and resolution of my errors
    1. Error 1: Customer Name is a Mandatory Quick Entry field. Value must be passed.
    The cause was that the data loaded into our custom staging table was not in the right fields. This was because the data file values and the CTL were not in sync.
    Resolution:
    Corrected the data file to be in Sync with the structure defined in the CTL and  this loaded it successfully
    2. Error 2: The class category is invalid.
    The cause of this error was that  in the  Projects Template (used to create the project from), the Quick Entry setup had a Class Category set as required and I was not passing a value ( a class code value) for that Class Category.
    Hope this helps somebody else
    Cheers
    Turnbill

  • Trying to create Invoice using the API,however i am not able to create the customer accounts in the front end

    when creating invoice using the API AR_INVOICE_AP_PUB.Create_Single_invoice Am Getting the below Error:
    Transaction type is invalid with current transaction date
    invalid transaction type
    either an inventory item description must be provided
    Kindly help me here

    Hi Team,
    I  tried creating the invoice and I got the above errors, however, when updated the batch source ID I am now getting this following error only, i am just left with the following Error only
    Either an inventory item or description must be provided.
    Please help me on this.

  • How to create User in the specific group in Microsoft Active Directory

    Hi,
    I am using Nestcape LDAP, and want to create user in the user defined group. I have created a new user group "TestUsers" in the "Users" container of Active Directory, I want to add the new user to Test Users group But my problem is that whenever I create a new user
    it get added to Domain Users group.
    I tried adding memberOf attribute with value "TestUsers"
    attr = new LDAPAttribute("memberOf", "TestUsers");          
    attrs.add(attr);
    It gives me following error :
    code= 53 Exception 0000209A: SvcErr: DSID-031A0D6F, problem 5003 (WILL_NOT_PERFORM), data 0
    Following is the code I am using.
    public LDAPResult createUserID(
    String userId,
    String pwd,
    String pId,
    boolean resetonLogOn,
    LDAPConnection ldCon) {
    boolean flag = false;
    int code=0;
    try {
    String pwdLastSetVal;
    String desName;
    String desc;
    /* Specify the DN of the new entry. */
    String dn =
    "CN=" + userId + ",CN=" + this.container + "," + this.baseDN; // container = "Users"
    /* Create and add attributes to the attribute set. */
    String objectclass_values[] =
    { "top", "person", "organizationalPerson", "user" };
    // LDAPEntry findEntry=null;
    /* Create a new attribute set for the entry. */
    LDAPAttributeSet attrs = new LDAPAttributeSet();
    /* Attribute sAMAccountName */
    LDAPAttribute attr = new LDAPAttribute(LDAP_SAM_KEY, userId);
    attrs.add(attr);
    /* Attribute unicodePwd */ // LDAP_PASSWORD_KEY = "unicodePwd"
    attr =
    new LDAPAttribute(
    LDAP_PASSWORD_KEY,
    (byte[]) this.encodePassword(pwd));
    attrs.add(attr);
    /* Attribute Display Name */
    desName = userId + ":" + pId;
    //desName = userId ;
    attr = new LDAPAttribute(LDAP_DIS_NAME_KEY, desName);
    attrs.add(attr);
    /** Attribute userAccountControl to enable the userid.
    attr = new LDAPAttribute(LDAP_ACCOUNT_KEY, LDAP_ACCOUNT_EN_VAL); // LDAP_ACCOUNT_EN_VAL= "548"
    attrs.add(attr);
    /* Attribute pwdLastSet to reset the password on first logon*/
    if (resetonLogOn == true) {
    pwdLastSetVal = "0";
    } else {
    pwdLastSetVal = "-1";
    attr = new LDAPAttribute(LDAP_RESET_KEY, pwdLastSetVal);
    attrs.add(attr);
    /* Attribute Description */
    desc = " Account Created by HelpNow App";
    attr = new LDAPAttribute(LDAP_DESC_KEY, desc);
    attrs.add(attr);
    /* Attribute objectclass */
    attr = new LDAPAttribute("objectclass", objectclass_values);
    attrs.add(attr);
    attr = new LDAPAttribute("memberOf", "TestUsers");          
    attrs.add(attr);
    /* Create an entry with this DN and these attributes . */
    LDAPEntry myEntry = new LDAPEntry(dn, attrs);
    /* Add the entry to the directory. */
    ldCon.add(myEntry);
    flag = true;
    }catch (LDAPException e) {
    flag = false;
    code=e.getLDAPResultCode();
    }catch (Exception e) {
    flag = false;
    code=LDAPException.OTHER;
    }finally {
    ldaprs.flag=flag;
    ldaprs.code=code;
    return ldaprs;
    }

    Refer to the post titled "JNDI, Active Directory and Group Memberships" available at http://forum.java.sun.com/thread.jspa?threadID=581444&tstart=150

  • Create users via the CLI interface on a SX20

    Hi 
    Are there some who know how to create users via the CLI interface on a SX20. You can do this via the web interface but I have many video installations where I need to create a user account. Therefore, it would be easiest if I can make it through the CLI interface. 
    Best regards 
    Jesper

    Unless there's a very well hidden command somewhere, then no. As far as I know, this can only be done for the remote supportuser account;
    xcommand UserManagement ?
    xCommand UserManagement RemoteSupportUser Create
        ExpiryDays: <1..31>
    xCommand UserManagement RemoteSupportUser Delete
    xCommand UserManagement RemoteSupportUser DisablePermanently
        Confirm(r): <Yes>
    xCommand UserManagement RemoteSupportUser GetState
    /jens
    Please rate replies and mark question(s) as "answered" if applicable.

  • Create a user through the API and "Prompt user to change password after next login".

    Using the Adobe Connect Interface, I can create a user and check the checkbox to "Prompt user to change password after next login".
    Can I achieve the same result using the API? The principal-update action doesn't offer such an option and, as far as I can tell, there isn't another action to do so either.
    Thank you.

    You can achieve it as part of your application functionality, but not as a configuration option on WLS.

  • How to assign the role for created user  thru dynpro App

    Hi All
    How to assign the role for currently created user from Webdynpro App.
    when i enter into the portal after creating the user
    i am getting the following messgae in the portal
    "No portal roles are assigned for this user.If this problem persists, contact your system administrator."
    how to assign the user defined role for the created user from dynpro App
    Regards
    Dhina  Kar J
    Edited by: Dhinakaran Jeyachandran on Feb 1, 2008 12:19 PM
    Edited by: Dhinakaran Jeyachandran on Feb 1, 2008 12:35 PM

    In the User Administration section of your portal find your newly created user and below select "Assigned Roles" tab then press <Modify> button and look through available roles on portal then just simply add and save. But if you want to do it programmatically see below:
    IUserAcountFactory userFactory = UMFactory.getUserAccountFactory();
    // IUser - read only but with IUserAccount is possible to set up user data
    IUserAccountSearchFilter userFilter = userFactory.getUserAccountSearchFilter();
    userFilter.setLogonUid("superuser", ISearchAttribute.LIKE_OPERATOR, false);
    ISearchResult sr = userFactory.search(userFilter);
    for (final Iterator i = new PrincipalIterator(sr); i.hasNext();) {
      IUserAccount user = (IUserAccount) i.next();
    Execute the same search for IRole (or IGroup if needed) get the unique id of them and use newRole(...) and addUserToRole(...) methods from IRoleFactory.
    Of course you don't need search for this principals if you know uniqueness of them. Use appropriate factories to get'em all by this unique id.
    All the features see in  [javadocs|http://help.sap.com/javadocs/NW04S/current/se/index.html]

  • Create user via UME API/LDAP

    Hi,
    I'm trying to create a user using the UME Api
    IUserMaint umeUser = UMFactory.getUserFactory().newUser( uniqueId );
    .... set properties on umeUser...
    umeUser.commit;
    The user created ok in our ldap server (Tivoli DS) but on the root dn, i.e. ou=companyX,c=se
    Is there a way to create the user in another ldap-node, say ou=internetUsers, ou=companyX, c=se?

    Hello Mattias,
    You should set the property
    <b>ume.ldap.access.creation_path.uacc = ou=internetUsers, ou=companyX, c=se</b>
    Check this for more:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/63/14f5b51a6eff429f2d8b2063400e82/content.htm
    This path is where new user accounts are created.
    This path must be relative to the path defined in
    ume.ldap.access.base_path.uacc
    If this property is not defined, user accounts are stored in the path defined in
    ume.ldap.access.base_path.uacc
    Greeting,
    Praveen Gudapati

  • Create user request from api OIM 11g r2

    Hi,
    I need to read a database and raise a request for creating uses. After  approval the user needs to be created in OIM 11g R2.
    I want to write a scheduled task which will read database columns and rasie a request to create users.
    I dont want to use UnauthenticatedSelfService api.
    Please suggest a way to achive that. any pointer / sample coede / suggestion  is helpful.

    Here are links to creating a request for a role and a resource.  https://java.net/projects/openptk/sources/svn/show/branches/Oracle/OIM11g/examples/java/OIMClient/src/oim/client/request?rev=1402
    I would suggest you start with these and modify the parameters to be for a user.  You will have to try some trial and error to get it working, unless someone already has it available.  And so far, no one who is posting does.  Give it a shot.  You can always create an SR with oracle and ask for assistance.
    -Kevin

  • Creating users via the admin console

    Hi,
    I'm trying to create a user via the admin console. The user will have to
    authenticate via Membership, and will require a username and password.
    However, when creating the user via the admin console it does not allow you
    to specify a default password (or by using the command line 'ipsadmin create
    user /domain/user.xml', unless there is some XML field specified in the file
    to do that? If so, what is it? Specify an attribute in the
    "iwtAuthMembership-password"?) After creating a user via the console, I
    tried logging in using a blank password and a password the same as the
    username, but neither worked. Is this password set as default to something,
    and if so to what?
    Also, is there some existing means for a user who has already created a
    membership account to change their password? If not, then I guess I will
    have to develop some code to modify the "iwtAuthMembership-password"
    attribute.
    Thanks,
    Mark

    Hi,
    After you have created the user via the console, then the user will be added to a particular role.From the console go that particular domain and then to the role under which the user was created.Then select the Users link you can see the users list.From that list select the user for whom a password is needed,then it will lead you to a screen where you can see a link named Authentication.Expand that link and click on the Membership link there you can enter the username and password for the user

  • EMail Notification for the Newly Created users using UME API

    Hi ,
    In my application ,the user creation is handled by custom Admin module which uses the UME APIs. Upon creating the user, we need to send a notification mail to the user's email id which he provided in the Add new user form.
    <b>Is there any direct APIs available to notify the user via email. I hope the Standard user creatin module in User Administration also uses the same UME APIs.</b>
    Please let me know the possibilities.
    Appreciate your help.
    <b><b>Sample Code:</b>
         <b>IUserFactory mUserFact = UMFactory.getUserFactory();
         IUserMaint mUserMaint = mUserMaint = mUserFact.newUser(aUser.getLogin());
         IUserAccountFactory mAccountFact =UMFactory.getUserAccountFactory();
         IUserAccount portalAccount = null;
         mUserMaint.setDisplayName(aUser.getLogin());
         mUserMaint.setXXX();
         mUserMaint.save();
         mUserMaint.commit();
         portalAccount = mAccountFact.newUserAccount(aUser.getLogin(), mUserMaint.getUniqueID());
         mAccount.setPassword("XXXXXX");
         aUser.setPassword(mPassword);
         mAccount.save();
         mAccount.commit();</b></b>
    Thanks and Regards,
    Sekar

    Hi,
    I have used the Java Mail API directly send the notification upon new user creation.
    Thanks and Regards,
    Sekar

  • Steps involved in creating an online SHOPPING BASKET / CART

    I am trying to learn how to create a website for selling products online, and I have no idea where to start with the details of adding a shopping cart to a site etc. All I know (I think) is that SSL Certificates are required for the secure page where payment details are asked for.
    So, first of all, could someone please break it down for me in simple terms what I need to know (and do) in order to create this feature on a website. Step 1, Step 2, Step 3..... etc.... I just need to know how it all functions, and then I can ask for more specific help based on each step.
    Many many thanks in advance for helpful advice from those who are skilled and knowledgeable about this setup.

    First, contact your bank to set-up a merchant account.  You'll need one to accept on-line credit cards.
    Second, establish accounts with your payment processing gateway providers like Authorize.net, PayPal, Google Checkout, etc...
    Third, find a cart that
    a) supports your payment gateway(s) and
    b) uses a server-side programming language supported by your web server. PHP/MySQL is widely supported by most commercial hosts. If unsure, check with your host.
    Time is money.  If you crave a full array of shopping cart features and flexibility to customize your cart pages, you'll need to pay.  Cartweaver is very reasonable when compared to other shopping carts in its class.  You get what you pay for.  If your cart requirements are few and you don't have a lot of products to sell, Coffee Cup Shopping Cart Creator might be all you need.  Last time I checked it retailed for under $50.
    Finally, I highly recommend against collecting or storing sensitive credit card data on your site.  If you do, you'll have a hell of time with PCI compliance.  See Payment Card Industry - Data Security Standards guidelines:
    http://www.pcicomplianceguide.org/pcifaqs.php   IMO it's safer all around to pass your customers over to the payment processor's site to complete their CC transaction.  If you do it this way, you won't need an SSL.
    Good luck,
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb

  • Problem (Process Break) in Creating GRPOs thru DI API Object

    Dear All,
    I am creating around 12000 GRPOs thru object of GRPO. But the process breaks after processing the few hundred of GRPOs and get an error related to memory insufficient. I am woriking on SERVER and it has 18 GB of RAM. I am releasing the GRPO object and even use the Garbage Collector. But the system throws the errors concerning with memory. I think 18 GB RAM is enough.
    Also, I have Disconnect and Connect to the DATABAse after posting of around 1200 GRPOs. But the problem is still occuring.
    Please help me in this matter.
    if (oGoodsReceipt != null)
                                                //GC.Collect();
                                                System.Runtime.InteropServices.Marshal.ReleaseComObject(oGoodsReceipt);
                                                GC.Collect();
                                                GC.WaitForPendingFinalizers();
                                            oGoodsReceipt = (SAPbobsCOM.Documents)ICreon_SBOAddOn.SBOCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oPurchaseDeliveryNotes);
                                            oGoodsReceipt.CardCode = strRptVendCode1;
                                            oGoodsReceipt.DocDate = Convert.ToDateTime(strDate);
                                            oGoodsReceipt.DocDueDate = Convert.ToDateTime(strDate);
                                            oGoodsReceipt.TaxDate = Convert.ToDateTime(strDate);
    ANUJ SINGH

    Hello
    I am kindly asking you to remove these lines:
                                                //GC.Collect();
                                                System.Runtime.InteropServices.Marshal.ReleaseComObject(oGoodsReceipt);
                                                GC.Collect();
                                                GC.WaitForPendingFinalizers();
    There is no relevance with them to release the memory, if you read the MSDN documents about the garbage, you can find out, they are not necessary...
    The correct in c#
    // inside loop
    oGoodsReceipt = (SAPbobsCOM.Documents)ICreon_SBOAddOn.SBOCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oPurchaseDeliveryNotes);
    oGoodsReceipt.CardCode = strRptVendCode;
    oGoodsReceipt.DocDate = Convert.ToDateTime(strDate);
    oGoodsReceipt.DocDueDate = Convert.ToDateTime(strDate);
    oGoodsReceipt.TaxDate = Convert.ToDateTime(strDate);
    oGoodsReceipt = null;
    //loop ends
    I am imporing items every day (approx 12000) without an error.
    Regards
    János

Maybe you are looking for

  • How do i shut off the read-only mode in iCal?

    I don't what happened but suddenly I cannot add any new entries to my iCal. I get a error prompt that says, "READ-ONLY CALENDAR - You cannot change events or To Do in a read-only calendar." How do I disable this read-only feature so I can use my iCal

  • Calling BLS within NW JTA session : throwing TransactionLoadException

    Experts I have one BLS and trying to call that BLS in another BLS. In the 2nd BLS I have NW JTA action blocks. After JTA Start session, i'm trying to call the 1st BLS. But this is throwing an exception like below [ERROR] [BLS_XXXX] Action: Runtime th

  • Image Gallery: Show File Name

    I am a yearbook adviser and am making an iPad edition of our yearbook. Am hoping there might be a way to have images in the gallery show the filename of each image, for example, by default in the caption or title. Say I have a senior portrait image.

  • Service PR from production order operation!

    Hi All, I just want to check whether it is possible to trigger service purchase requisitions (with item category D) for an external vendor from a production order operation? If it is, please let me know the procedure to do so... Regards. V S

  • Display sleep settings & Parallels

    Its my observation that whenever am playing video on my iMac the display never goes to sleep, though the settings are set to to 10 mins. However, when am running any videos using Parallels on Windodows 7, the Mac display goes to sleep mode after 10 m