Error when deleting a user

Hi,
I created a user with User ID = "TestUser800" through a program. Now I am trying to delete it (from the code only) but its throwing the following exception.
com.sap.security.core.persistence.datasource.PersistenceException: The given ID "TestUser800" is not valid!
Can anyone help me in this regard !!
Thanks,
Sudhir

Thanks for the reply David. I solved the problem.
Previously I was trying to do
IUserFactory ufact = UMFactory.getUserFactory();
ufact.deleteUser(uid);
But it should have been
IUser userToDelete = ufact.getUserByUniqueName(uid);
ufact.deleteUser(userToDelete.getUniqueID());
It works now
Thanks,
Sudhir

Similar Messages

  • Error when creating a user - IAM-3010183 : An error occurred while checking if a user already exists with the Common Name generated.

    Error when creating a user - IAM-3010183 : An error occurred while checking if a user already exists with the Common Name generated.

    in OIM 11g R2
    Message was edited by: 2b3c0737-074f-48d0-a760-e24e3ed9a37c

  • Syntax error when creating a user-defined table type in SQL Server 2012

    Why am I getting a syntax error when creating a user-defined table type in SQL Server 2014?
    CREATE TYPE ReportsTableType AS TABLE 
    ( reportId INT
    , questionId INT
    , questionOrder INT );
    Results:
    Msg 156, Level 15, State 1, Line 1
    Incorrect syntax near the keyword 'AS'.

    Hope these posts could help, 
    https://social.msdn.microsoft.com/Forums/sqlserver/en-US/37a45a9a-ed8c-4655-be93-f6e6d5ef44be/getting-incorrect-syntax-while-creating-a-table-type-in-sql-server-2008-r2?forum=transactsql
    Regards, Dineshkumar,
    Please Mark as Answer if my post answers your question and
    Vote as Helpful if it helps you

  • When deleting a user created folder from On My Mac in Mac Mail the sent messages that are part of conversations that reside there are not deleted, only the received mail gets deleted.

    When deleting a user created folder from On My Mac in Mac Mail the sent messages that are part of conversations that reside there are not deleted, only the received mail gets deleted. Any way for both the received and sent mail that resides there to be deleted?
    I create a lot of project folders where i keep all my conversations regarding the project. Once the project is finished i would like to just delete the folder and get rid of all the emails associated with it but when i delete the folder i've noticed that only received messages are deleted. Now I am stuck trying to sort through my sent folder for messages that were returned there after the conversations was supposedly deleted.

    Mail/Preferences/Viewing - un-check include related messages, delete the folder, then go back and reset yo include.

  • Attribute change run fails - "Error when deleting the data record /B05/X.."

    Hello,
    I get the error message "Error when deleting the data record /B05/X.." on doing the change run.
    I have already done RSRV on this objects and found no errors, but still the activation fails.
    please give your suggestions ASAP to fix the issue as it is on production system.
    Thanks.

    Attribute change run could fails due to 2 reasons-
    (1) attribute xchange run is already runnnig for any toher object(monitor lock) (check by thi prog-RSDDS_CHANGERUN_MONITOR)
    (2) data is loading deleting from the object on which attribut changerun is running.(go in a manage tab and check)
    check this two conditions and rerun the attribute changrun again from program - RSDDS_AGGREGATES_MAINTAIN and give the master data name in the selection.
    Hope it helps you.

  • Error when selecting a user

    Hi everyone:
    We have implemented SAP NetWeaver 7.0, and we defined "ABAP System" as Data Source.
    We've come across a strange error while selecting some particular users (clicking on user) in Netweaver under User Management -> Identity Management > Selecting a User (clicking on user)
    "java.lang.NoSuchMethodError: com.sap.tc.webdynpro.services.sal.url.api.WDURLGenerator.isSecureURL(Ljava/lang/String;)Z"
    So far, this error has happened only when selecting a user that has the E-Mail field defined in the ABAP side. If we delete the E-Mail address from de ABAP account and then select the user in the Java Identity Management, the error disappears and the user account is perfectly shown.
    Any suggestions guys??
    Regards,
    Pablo Vaquero

    Hi Ravi,
    Thank for your reply.
    That indeed is the issue!... Since we have defined "ABAP System" as the Data Source, the E-Mail field can only be mantained on the ABAP side. But, as I've said on my previous post, when we fill this field in the ABAP side for any particular user and then want to see this change in user details on the UME side, when clicking on that particular user we get the error mentioned above.
    Regards,
    Pablo

  • Error when deleting Page Group

    Hi
    I got the following error when i am trying to delete a Page Group.
    How can i rectify this.
    Portal Version:9.0.2.2.14A
    Error: An unexpected error has occurred (WWS-32100)
    ORA-1: User-Defined Exception (WWC-36000)
    Error while deleting page. (WWC-44130)
    An unexpected error occurred: ORA-01422: exact fetch returns more than requested number of rows (WWC-44082)
    And also clicking on "Actions" icon of a "Text" item in this page group, i got the following error....
    Error: Item does not exist. (WWS-22507)
    An unexpected error has occurred in portlet instances: ORA-01422: exact fetch returns more than requested number of rows (WWC-44846)
    Any patch is available to just rectify this "Text" item related issues.....!!
    Thanks&Regards
    Krishna Prasad

    Please report this problem to Oracle Support.
    Regards,
    Jerry
    PortalPM

  • Error when deleting a record:  "FRM-40202 Field must be entered"

    Dear all, please I need your help in this little problem.
    I am using Forms 10g , and I am having an issue when deleting a record at runtime. It is giving "FRM-40202 Field must be entered".
    I have reviewed the code but still cannot guess what could be the reason.
    Any idea please. Thanks
    Edited by: user562674 on 02/05/2011 12:35 ص

    Hi
    This error is caused due to the NOT NULL constraint u have in ur db for that item...
    u have 2 options to use ...
    1.Either u set the Required property of that item to > no
    2.Or u give it an intial value...
    To get ride of this error message...
    Hope this helps...
    Regards,
    Ammatu Allah.

  • Error when deletting internal table

    Hi to all,
       I have small requirement. Am getting runtime error , when am deleting internal table when that internal table will have only one record. how i can solve this problem. Give me some clues.

    Hi Geetha, you can do this
    IF itab[] IS NOT INITIAL.
      LOOP AT it_ekbe.
        IF it_ekbe-bwart_i NE '101' AND it_ekbe-bwart_i NE '105' AND it_ekbe-bwart_i NE '201' OR it_ekbe-bwart_i NE '202' AND
           it_ekbe-bwart_i NE '221' AND it_ekbe-bwart_i NE '222' AND it_ekbe-bwart_i NE '231' AND it_ekbe-bwart_i NE '232' AND
           it_ekbe-bwart_i NE '241' AND it_ekbe-bwart_i NE '242' AND it_ekbe-bwart_i NE '251' AND it_ekbe-bwart_i NE '252' AND
           it_ekbe-bwart_i NE '261' AND it_ekbe-bwart_i NE '262' AND it_ekbe-bwart_i NE '281' AND it_ekbe-bwart_i NE '282' AND
           it_ekbe-bwart_i NE '291' AND it_ekbe-bwart_i NE '292'.
          DELETE itab WHERE mblnr   = it_ekbe-lfbnr_i
                        AND matnr_i = it_ekbe-matnr_i
                        AND ebeln_i = it_ekbe-ebeln_i
                        AND ebelp_i = it_ekbe-ebelp_i
                        AND werks_i = it_ekbe-werks_i.
        ENDIF.
      ENDLOOP.
    ENDIF.
    This routine does the same but with better performance, I hope this help you.
    Regards
    David Carballido

  • Error after deleting a user

    Hi,
    i have a big problem. I cannot change my process template,
    cause I get the error message:
    <i>Cannot retrieve activity template: User USER.PRIVATE_DATASOURCE.un:tftak1 doesn't exist!</i>
    But the User tftak1 is not the designer, but he was involved in the process as a default role.
    After I deleted that user I got that message.
    What could I do? I need fast help, because we want to start our testing phase...
    Thanks in advance
    Steve

    Hi Steve,
    An idea would be to recreate this user tftak1 and then to edit the process and remove it from the default roles.
    Other possibility would be to go to the Administration UI in GP and there to change the user assignement for the default roles.
    The extreme solution would be to forget your process and to create a new process object. Then you can add again your existing block to this process.
    Hope this helps,
    Best regards,
    David

  • Call a java class when deleting a user

    Hi,
    I have identified the "Deprovision Form" as the form used when you want to delete a user. What I would to do is invoke a java class when you press on OK on the delete user page.
    thanks in advance.

    You can try to call the java class in a Field's Expansion block by putting the condition that
    <cond>
    <eq>
    buttonValue
    OK
    <eq>
    then call java....

  • ORA-22813 error when deleting spatial objects in LIVE

    Hi,
    We are getting an ORA-22813 error when attempting to delete a spatial object from a version-enabled table in workspace LIVE. The spatial object to be removed has a SDO type of multipolygon. The geometry information consists of 4 rings with a combined ordinate count of 4120. The statement used to delete the row is:
    delete from tableA where tableA.id in (select tableA.id from tableA where tableA.id = 3);
    The error occurs only on a 10g R1 Oracle instance (10.1.0.5.0) with Workspace Manager version 10.1.0.7.1. The delete operation succeeds without problems on a 10g R2 (10.2.0.2.0) instance with Workspace Manager version 10.2.0.3.1. The statement is also executed successfully on the 10g R1 instance if the table is not version-enabled.
    Any help on this would be appreciated.
    Thanks

    Hi,
    I would recommend filing a TAR in this one. The only ora-22813 error involving workspace manager and geometry columns that I know about involves queries that need to sort data for which the size of the geometry column was >30k. Does the execution plan for the delete statement involve any kind of sort? However, this is an old 9.2 bug, that I believe was fixed for all 10.1 and newer releases.
    Does the same error happen if you do not use the subquery?
    Regards,
    Ben

  • Error when editing Portal User Profiles

    Hi there,
    I got this error message when editing Portal User Profiles
    Error: The specified user does not exist. (WWC-41406).
    I can select users from OID, but can't edit them.
    Note: these users are imported from AD and placed in a different OU other than users container in OID.
    But, If I create a user in the same OU from Portal Administration page, then I can select and edit that user's Portal Profile.
    So what's the difference between imported users and the user created from Portal?
    Please advise.
    Thanks,
    Geoff

    REPORTSDEV was an invalid user so we dropped this user and started over and now it works.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by GREGG SAKSEFSKI ([email protected]):
    I'm tring to edit user REPORTSDEV.
    So I'm on the "Administer" tab and enter "REPORSDEV" in the User box and press <EDIT> button.
    After a couple minuates I receive the error below:
    Error: Unexpected error encountered in wwsec_api.id_sso (User-Defined Exception) (WWC-41417)
    The system failed to retrieve the necessary HTTP request to the Login Server to validate this user. (WWC-41447)
    Any ideas???<HR></BLOCKQUOTE>
    null

  • Error when re-creating user

    Hi,
    I have deleted a user whith userdel -r ... . Homedir, passwd and shadow file are fine. I running pwconv, for a reload the contents of the file ==> Shadow and passwd have the same number of lines...
    And now try to create a user with useradd command and I get an error :
    UX: useradd: ERROR: tae is already in use. Choose another.
    any idea ?
    thank you.

    I expect what's happening is that by using pwconv you're putting the details back in place for that user in /etc/passwd and /etc/shadow.
    Once you've done userdel -r .... you don't need to touch those files - the user will be deleted - so you can then just set it up again.

  • I get the following error when trying to user Show & Share (HTTP Status 500)

    I get the following error when I try to use Show and Share.   I have cycled the power on the server but still the same message.
    How can I correct this?
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: java.lang.NullPointerException
         org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:541)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:435)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:378)
         org.springframework.security.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109)
         org.springframework.security.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
         org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
         com.cisco.vportal.services.security.VPAnonFilter.doFilter(VPAnonFilter.java:51)
         org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
         org.springframework.security.ui.ExceptionTranslationFilter.doFilterHttp(ExceptionTranslationFilter.java:101)
         org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
         org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
         org.springframework.security.wrapper.SecurityContextHolderAwareRequestFilter.doFilterHttp(SecurityContextHolderAwareRequestFilter.java:91)
         org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
         org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
         org.springframework.security.context.HttpSessionContextIntegrationFilter.doFilterHttp(HttpSessionContextIntegrationFilter.java:235)
         org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
         org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
         org.springframework.security.securechannel.ChannelProcessingFilter.doFilterHttp(ChannelProcessingFilter.java:116)
         org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
         org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
         org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:175)
         org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)
         org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)
    root cause
    java.lang.NullPointerException
         org.apache.jsp.login_jsp._jspService(login_jsp.java:1002)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:378)
         org.springframework.security.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109)
         org.springframework.security.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
         org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
         com.cisco.vportal.services.security.VPAnonFilter.doFilter(VPAnonFilter.java:51)
         org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
         org.springframework.security.ui.ExceptionTranslationFilter.doFilterHttp(ExceptionTranslationFilter.java:101)
         org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
         org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
         org.springframework.security.wrapper.SecurityContextHolderAwareRequestFilter.doFilterHttp(SecurityContextHolderAwareRequestFilter.java:91)
         org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
         org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
         org.springframework.security.context.HttpSessionContextIntegrationFilter.doFilterHttp(HttpSessionContextIntegrationFilter.java:235)
         org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
         org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
         org.springframework.security.securechannel.ChannelProcessingFilter.doFilterHttp(ChannelProcessingFilter.java:116)
         org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
         org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
         org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:175)
         org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)
         org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)
    note The full stack trace of the root cause is available in the Apache Tomcat/6.0.14 logs.
    Apache Tomcat/6.0.14

    Good morning,
    Please, open a TAC service request to have this investigated further.
    When you do, please, attach the exact steps you follow to get this error, as well as a sysreport from the Show and Share appliance.
    Also, it would be good to confirm whether other users are also seeing the same error or not.
    Regards
    Daniel

Maybe you are looking for

  • Express won't print to printer

    Well technically it will but the printer has to be on. I have a canon printer which in all other circumstances including shared printer on a server it will auto power on when a Job goes through, yet the express will not allow this to happen, so basic

  • How do I gift an itunes LIBRARY playlist to someone on itunes STORE?

    I have an itunes playlist in my music library on my mac.  I want to duplicate the playlist to my itunes store account so i can gift the playlist to another person.  how do i do this without a) manually recreating the playlist (it's long) and b) not u

  • ALV run in background with oops

    Hi all, I created an ALV grid, which runs fine online. In the background however the spool is empty. The program does not dump though, it's just that the spool is empty. Here's the code for creating the grid in background: *.. create main grid     cr

  • Public class name same as filename

    Every book I've read stated that if you have a public class declared in the source file, then you have to name the file the same as the class name. However, none of the book explain why, can anyone tell me about this?

  • New to SOAP - How to create SOAP message for the SOAP described

    Hi Friends, Im bit new to SOAP-JAVA interactions. I have an SOAP describing POST /abc/WebSrevices/MyService.asmx HTTP/1.1 Host: 127.0.0.1 Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://tempuri.org/BillingAddressValid