Creation of new portal user failed

Hello,
i'm trying to create a new user using the security.api, and the user is created with all data i've added, but we get an error : "User account is not accessible due to data inconsistencies". the field logon id is not filled.
the code i'm using is as follows.
public void wdDoInit()
    //@@begin wdDoInit()
try{
String uid = "testuser01";
Date startdate = java.sql.Date.valueOf( "2007-01-01" );
IUserFactory userfact = UMFactory.getUserFactory();
IUserMaint newUser = UMFactory.getUserFactory().newUser(uid);
newUser.setFirstName("Test");
newUser.setLastName("User");
newUser.save();
newUser.commit();
IUserAccount uacc = UMFactory.getUserAccountFactory().newUserAccount(uid,newUser.getUniqueID());
uacc.setPassword("secret");
uacc.setValidFromDate(startdate);
uacc.save();
uacc.commit();
}catch(UMException e){
System.out.println("Error Occured" + e);
    //@@end
is there anybody who is facing this problem, or anybody who solved this issue, or can helping us saving this issue.
thanks in advance

We found the problem,
We had to add a numeric and /or a special charachter in the password

Similar Messages

  • Create new portal-user with webservice

    Hi,
    I'm trying to develop a ejb-webservice which is creating a new Portal-User.
    The webservice is working so far, I made methods like getDisplayName() which is returning the display name to a logonId and so on. All this is working. I'm using the component sap.security.api.sda for this.
    Problem: User-creation is not working. I think the problem might be, that a webservice is not authorized to create users? Or putting it in another way: Is it possible that a webservice is "logging in" at the portal, or sohehow authorizing itself?
    Thanks and regards
    Jan Hempel

    Hi Detlev,
    thanks for Your answer.
    It seems like that the problem was caused by using array-parameters in the webservice-method?!
    Strange, but after removing the array-parameter from the method it worked! Before the webservice never returned anything, not an error or anything else.
    Well, strange enough, but I can live with that.
    regards
    Jan

  • New Portal User options are disabled when trying to create a new User

    Hi All,
    I am trying to create a new portal user profile using the administrator login. While doing that, I am getting all the options ( used to create the new user ) as disabled. Can anybody let me know the reason & solution of such a problem.
    or
    Anyone can provide me the document on how to create the new profile on portal. Thanks.
    Best Regards,
    Chander Kararia
    Edited by: Chander Kararia on Jan 15, 2009 7:26 AM

    Hi Chander,
    I just want to know if you are able to modify the attributes of an existing user. If not then you have been assigned the User Admin role (read only). Please check that. If yes then revert.
    Regards.
    Rajat

  • Creation of new Portal Apps!!portal.wf not found !!!

    Hi ,
    In EBCC I am creating a new portal web application in the existing Portal
    Application. I am assigning default portal webflow to my new Portal.
    After synchronization , if I access the portal by its context root it
    says, portal.wf not found..
    What is the significance of portal-project directory ?
    regards
    vedant.

    We found the problem,
    We had to add a numeric and /or a special charachter in the password

  • Essbase client missing after creation of new windows user profile

    I created a new windows user profile after an apparent corruption of my old one. However, when I open Excel, the Essbase client (add-in) is gone. Smartview is still there. The client doesn't show up after registering Essbase Add-In is executed. I can add the client by navigating to C:\Hyperion\products\Essbase\EssbaseClient\bin and selecting essxleqd.xla and essxcln.xll. The add-in then appears to be installed. However, when I try to connect to Essbase, the connection dialog box does not show up. I'm on version 11.1.1.3 and Excel 2007.
    Is there a way to resolve this short of re-installing the client? Any advice would be appreciated.
    Thanks in advance.
    dave

    I remember the Essbase add-in used to be a small executable of a few MB that was easy to install. It's my understanding that they went to the global installer where they include various product assemblies. The files needed to run the global installer for a simple add-in amount to close to about 4GB in size. Our VPN for remote users is very slow and takes forever to install. I see ther is still a small executable for the Smartview install. Is there a small executable for the Essbase add-in somewhere that I'm not aware of? I can reinstall if that's what it takes. I was hoping there might something a bit less time consuming.
    Thanks John.
    Edited by: DAS80220 on Jun 28, 2011 7:50 AM

  • Adding New Portal User using PLSQL APIs

    I am trying to use the PLSQL APIs to add a new user based. Please let me know if I am on the right track. I am using Portal 3.0.8
    1) At the portal30_sso schema, I used wwwsso_ls_private.ls_create_user and it works.
    2) At the portal30 schema, I used wwsec_api.add_portal_user and it works.
    3) I used the activate_user api and it works.
    4) Still can't log on using my user name and password. The message is "Error: Authentication failed. Please try again. (WWC-41419)"
    Please help.
    null

    Here are the steps I have taken to set up Self Registration using the PL/SQL API
    1st Solution...
    1) At the portal30_sso schema, I used wwwsso_ls_private.ls_create_user and it works.
    2) At the portal30 schema, I used wwsec_api.add_portal_user and it works.
    3) I used the activate_user api and it works.
    4) Still can't log on using my user name and password. The message is "Error: Authentication failed. Please try again. (WWC-41419)"
    2nd Solution
    1st Solution...
    1) At the portal30_sso schema, I used WWSSO_API_USER_ADMIN.create_user and it works.
    2) At the portal30 schema, I used wwsec_api.add_portal_user and it works.
    3) I used the activate_user api and it works.
    4) Still can't log on using my user name and password. The message is "Error: Authentication failed. Please try again. (WWC-41419)"
    Here is a code sample of step 1.
    declare
    v_user portal30_sso.sso_user_type;
    v_err number;
    begin
    portal30_sso.wwsso_api_user_admin.create_user
    p_username => 'NEWUSER2',
    p_password => 'PASSWORD',
    p_error_code => v_err
    end;
    It would really help me out if I can get a response to see if it is possible or not to create a self-registration feature for Portal. Thank you for your help.
    null

  • Single  Sign on Issue for new Portal Users

    We are implementing ESS on EP 6.0. the architecture is like EP 6.0 - ITS - R/3.
    and we want to implement the single sign-on. so that when the users login the portal, the Portal Authenticates the user and then portal uses just the Portal UserID and logs in ITS/R3 without verifying the SAP PWD. Portal ID and SAP ID are same.
    The single sign on is working fine for those users who already have an SAP ID.
    we need to create new R/3 ID's for the new employees. and we don't wanna let the employees login in directly to R/3.
    When we create a new ID in R/3 and login for the first time in R/3, it asks to change the password.
    since the new employees won't be using R/3 and they login through portal and b'cos we implemented single signon, the portal tries to login in r/3 using the Portal ID/R3 ID, but the SAP R/3 ID is not actived since the user did not change the password, the SSO is failing.
    We didn't wanna assign the R/3 ID a password. since it will be an audit issue.
    Can anybody give any suggestions, so that the administrator need not assign a password and the users need not login in r/3 and change the pwd for the first time.
    Hope you understand my problem, if u need any clarification, let me know..
    Thanks.

    Hi Gopi-
    You can override the password check when a valid logon ticket is presented by setting the profile parameter:
    login/pasword_change_for_SSO   0
    using RZ10 in the instance profiles.  (Requires a restart of R/3)
    This overrides the password prompt/check when the user presents a valid logon ticket. 
    Hope this helps you out.
    Thanks,
    Marty

  • Creation Of New Sharing Account Fails

    I am trying to set up File Sharing. I have an external disk attached via FireWire. I'm logged in as an Admin user. I went to System Preferences -> Sharing and added the external volume root as a shared folder. Then, I clicked [+] in the Users list to add a user. This opened a new window, and I clicked on "New Person". This is supposed to create a special "Sharing User Account" that doesn't have an actual home folder on the computer. When I enter the User Name and Password and click on "Create Account", nothing happens, and the new user does not appear in the picker list. I tried this multiple times with different user names.
    I noticed in the system.log the messages below. Has anybody else encountered this problem, and if so, is there a workaround? I'd prefer not to create a dedicated user for this.
    Thanks,
    Chris.
    Oct 29 13:25:35 lev-2 System Preferences[517]: [self _disabledIdentitiesForPicker]:(\n "BC3A7CA5-FD42-40DC-A459-F25EC63A8142",\n "ABCDEFAB-CDEF-ABCD-EFAB-CDEF00000063",\n "ABCDEFAB-CDEF-ABCD-EFAB-CDEF0000000C"\n)
    Oct 29 13:25:57 lev-2 DirectoryService[34]: AuthorizationCopyRights returned error -60007
    Oct 29 13:25:57 lev-2 [0x0-0x36036].com.apple.systempreferences[517]: Operation could not
    Oct 29 13:25:57 lev-2 [0x0-0x36036].com.apple.systempreferences[517]: be completed. (CSIdentityErrorDomain e
    Oct 29 13:25:57 lev-2 [0x0-0x36036].com.apple.systempreferences[517]: rror -3 - The caller does not h
    Oct 29 13:25:57 lev-2 [0x0-0x36036].com.apple.systempreferences[517]: ave permission to complete the
    Oct 29 13:25:57 lev-2 [0x0-0x36036].com.apple.systempreferences[517]: operation.)

    I was able to find a workaround. Instead of creating the new user from within the User picker list opened from the File Sharing preferences pane, I went back to the Accounts preferences pane, and it allows the creation of a "Sharing Only" account type.

  • Creation of New Abap User

    Hi experts,
    Our client has purchased only one developer key license . We have already Developer users in dev and qty . My Question is Can i create new Abap developer user in dev & qty as license is only for production system ? or can i delete the old users in dev & qty and Generate a new developer key for my new users.
    hope my question was clear.
    Thanks & regards,
      Krishna teja

    Hi,
       SAP provides license based on users only for the users in Production system.
    You can create any number of users in DEV & QUA...
    But make sure you abide with the user license agreement in the production system.
    Thanks and Regards,
    Vimal

  • Activate and Deactivate an Oracle Portal user Fails

    I can execute the procedure as the user PORTAL. In my case I have a situation where I have a schema and I granted EXECUTE to the user on wwsec_api pacjkage and I get the following error:
    DECLARE
    BEGIN
    portal.wwsec_api.deactivate_portal_user(p_user_name => 'testuser');
    END;
    ORA-06510: PL/SQL: unhandled user-defined exception
    ORA-06512: at "PORTAL.WWCTX_SSO", line 1342
    ORA-06510: PL/SQL: unhandled user-defined exception
    ORA-06512: at "PORTAL.WWCTX_SSO", line 1151
    ORA-06502: PL/SQL: numeric or value error
    ORA-06512: at "PORTAL.WWCTX_SSO", line 1448
    ORA-06512: at "PORTAL.WWCTX_API", line 245
    ORA-06512: at "PORTAL.WWERR_API_ERROR", line 99
    ORA-06512: at "PORTAL.WWERR_API_ERROR", line 222
    ORA-06512: at "PORTAL.WWSEC_API", line 310
    ORA-06510: PL/SQL: unhandled user-defined exception
    ORA-06512: at "PORTAL.WWCTX_SSO", line 1342
    ORA-06510: PL/SQL: unhandled user-defined exception
    ORA-06512: at "PORTAL.WWCTX_SSO", line 1151
    ORA-06502: PL/SQL: numeric or value error
    ORA-06512: at line 3
    Any help would be appreciated.
    Thanks,
    --velu                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Hi Ton
    I am not a portal person. I tried what you said, but now I get the following.
    DECLARE
    BEGIN
    portal.wwctx_api.set_context(
    p_user_name => 'testuser'
    ,p_password => '1234'
    ,p_company => 'mycompany'
    portal.wwsec_api.deactivate_portal_user(p_user_name => 'testuser');
    END;
    ORA-06510: PL/SQL: unhandled user-defined exception
    ORA-06512: at "PORTAL.WWSEC_API", line 304
    ORA-06512: at line 9
    All and any ideas would be appreciated.
    --Velu                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Failed to update App Service Hosting Plan through new portal

    Hi,
    First, I debugged a bit with David Ebbo through Twitter. Here's the link to the conversation:
    https://twitter.com/MaximRouiller/status/589231825916166144
    The error happened multiple times but 9:22PM Montreal Time on April 17th 2015 would be the time stamp.
    Site: http://mdtohtml.azurewebsites.net
    I tried the following:
    Change Free => Basic on NP (New Portal). FAILED.
    Change Free => Shared on NP. Failed.
    Change Free => Shared on OP (Old Portal). SUCCESS.
    Change Shared => Basic on OP. SUCCESS.
    Change instances on NP, no options for this.
    Change instances on OP to 2. SUCCESS.
    Go to NP, get small notification to refresh the Blade. Reload the browser. I can now change instances.
    Change instances to 1 on NP. SUCCESS. Confirmed on old portal.
    Change Basic => Shared on NP. FAILED.
    Change Basic => Free on ARM Explorer. SUCCESS.
    Get told by David Ebbo to post here.
    Here's the message I got:

    Hello Maxime Rouiller,
    The issue of not being able to create a new App Service Plan is now fixed. I tried to reproduce this and was able to create the App Service Plan Successfully.
    You should now be able to create the App Service Plan from the New portal.
    Thanks,
    Syed Irfan Hussain

  • Details regarding Portal users vs 8i DB users

    Is there a good DBA level explanation of the differences between a PORTAL/SSO user and a normal database user?
    It appears we have to set up new users in Portal for all of our existing users in the database (painful). This was not required in Webdb. Is there a way to import existing database users and link them to their existing schemas painlessly?
    The bits and pieces I can find indicate that if you do go ahead and set up a new Portal user manually and link them to their own existing database user schema then the normal database objects roles and rights should appear. This does not seem to be true in 3.0.8 Portal. I created a portal user, assigned them to their existing 8.1.7 schema and:
    1) the normal database objects they have rights to do NOT show up in the browse database objects. In Webdb 2.2. all of these objects show up fine. The ability to browse database objects was one of the good things about Webdb that we need to preserve.
    2) try to create a portal component, a form, based on a table/view. Unlike #1 above I can in fact create the form on an existing table even though it does not show up in the browse above. The user has update rights to this table, but the form will NOT compile if I leave in the UPDATE, DELETE, INSERT buttons. What is going on?
    Is there a technical paper that discusses exactly how to map db users to portal users and how to transfer rights, privileges etc. so we can make portal 3.0 as functional as webdb 2.2 was?

    Quinn,
    Here are my answers:
    1) the normal database objects they have rights to do NOT show up in the browse database objects. In Webdb 2.2. all of these objects show up fine. The ability to browse database objects was one of the good things about Webdb that we need to preserve.
    Ans))
    You have better control on this ability now.
    2) try to create a portal component, a form, based on a table/view. Unlike #1 above I can in fact create the form on an existing table even though it does not show up in the browse above. The user has update rights to this table, but the form will NOT compile if I leave in the UPDATE, DELETE, INSERT buttons. What is going on?
    Ans))
    The ability to create a component in Oracle Portal 3.0 no longer depends on whether the developer has privileges to build components in a schema, but instead on whether the developer has privileges to build a component in an application.
    =====
    Is there a technical paper that discusses exactly how to map db users to portal users and how to transfer rights, privileges etc. so we can make portal 3.0 as functional as webdb 2.2 was?
    Ans))
    Read the following help:
    a) Migrating WebDb users to Oracle Portal.
    b) What are schema and object privileges?
    c) What are global privileges?
    d) What's the difference between an Oracle Portal User & an Oracle Database User?
    ====================
    Now the next question is..Where to find them?
    Here are the location:
    login > Navigator > Database Objects tab>
    Click on "Grant Access" > Click on the context help.
    Here under the related topics you will find:
    (b). Click on it:
    Again under the related topics you will find:
    (a) & (d) (Both are same).
    For (c):
    login > Create a user > edit that user > click on "Privileges" tab > context help.
    Hope this will clear your doubts...
    Thanx,
    Chetan.

  • Replicate in the Master controller and creation of new user with cisco prime infrastructure 2.1.

    Hello!!
    We have multiple controllers Cisco WLC 5508 (all running software version 7.6.120.0) distributed in various buildings and a controller in other control building (also Cisco WLC 7.6.120.0 5508) operating as Master and backup of the buildings's controllers . 
    Each building is radiated such an SSID that is used as a validation of the user connected to that SSID web portal each controller (in the WLAN, Security -> Layer 3 -> Web Policy), using the local database to validate the user. 
    The problem is that the local database of users is not being replicated between controllers buildings and the Master controller, so if you drop the controller of a building, the Master controller begins to provide service to the buildings access points, but the equivalent radiated SSID cannot able to validate users. 
    I need know if it's possible through Cisco Prime Infrastruture 2.1, first replicate in the Master controller on the basis of existing controllers buildings each local data and, second, that the creation of new users are automatically perform both the controllers like to the Master .
    Thanks.

    As noted earlier, it is not advisable to use the root user to log in for normal use. New users and groups can be created by navigating to Administration > Users, Roles & AAA as shown in the preceding figures. It would help to chalk out what are the various levels at which you want to distribute the users, and to create those roles first. It doesn’t really matter whether you create users or groups first. New users can be easily added by going to Administration > Users, Roles & AAA > Users > Add Users > Select “Add Users” from the drop-down on the right side. Once you get into the add user workflow, fill in the username, password, and local authorization for this user as shown in the figure below.
    A virtual domain can also be assigned to the users when you define their roles by selecting the virtual domain on the left side and moving it to the right side as shown in the image below (left).

  • How deactivate SAP* after inital logon and creation of new users

    Pl help me to deactivate SAP* after inital logon and creation of new users.
    Regards
    Jyotirmoy

    Hi,
    log on (as sap* to the portal) and navigate to system administration --> system configuration --> user management configuration --> data sources.
    There you should find a dialog for (de-)activating sap*.
    note that the navigation path could be slightly different (my portal ist set to german, so I translated the path on my own).
    Regards,
    Dominik

  • Creation of Portal users and group assignments

    Hi, everyone. My company just completed a load of some 2000 E-Business suite users into our new portal and have given them group assignments according to payroll. I had gathered a number of routines into a PL/SQL package in order to do this. These came from several sources in these forums, on Metalink, and other places on the internet. I was wondering if anyone would be interested in having it. A lot of it was rewritten on the fly, and I should probably clean it up a bit, but it would have saved me some time if someone had offered it to me. Is there a good place to post things like this? I'm sure that better ways exist to do some of these things than what I used, and I would be interested in some of the experts' comments.
    Anyway, let me know if you are interested.
    --Dave                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    hi Dave,
    i am trying to study a problem with group assignments in a proper branch in OID. it would probably be helpful to clear some pieces in this problem from your notes.
    would you be kind to send a copy to [email protected]
    with kind regards,
    AMN

Maybe you are looking for

  • Invoice number and Check number for FI

    Hi Friends,                 What does the above for FI mean? I need to pull the invoice number and the check numbers from AP and report . My question how do I recognize which field from 0FI_GL_4 stores this information? Any advice would be greatly ap

  • Preview no longer works with pdf documents

    I had downloaded Adobe Acrobat Reader to solve one problem. It didn't work and I didn't like it. I liked using Preview much more and so I uninstalled it. However, after I uninstalled it, Preview no longer works to open pdf documents on the Internet.

  • Sub modules implemented

    is there any method to have a list of sub-modules of SAP HR implemented for each individual country? for eg: for India i have implemented PA OM. for US PA OM Time & Payroll for UK PA OM ESS Time this way suppose i have a list of 20 countries how can

  • 1 CSQ and Skills based routing

    Hello, I have a quick question regarding 1 csq and skills based routing.  We have a customer that wants 10 different numbers pointing to 10 different scripts but would like to have only 1 CSQ since they only have 10 agents to do all of the work.  Thi

  • My phone goes silent mid song, the song shows its still playing but no sound. if I try to turn up the volume its greyed out

    My phone goes silent mid song. It shows the song is still playing but no sound. If I try to turn the volume up its grayed out...how do I fix this?