Skip to Content
author's profile photo Former Member
Former Member

error deleting user


I'm trying to delete a user and I always get this error:

" Principal "" is not deletable."

The code I use is this:

IUserFactory userFactory = UMFactory.getUserFactory();


This user was not created via SAP.

I don't know if this has some influence in this situation.

Thanks for any help conceeded

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Nov 16, 2005 at 11:25 PM


    first, welcome on SDN!

    About your question: From the uniqueID of the user (as well as from your description "user was not created via SAP") I see that you are using some third party data store (LDAP).

    You have connected the LDAP as read only (so you cannot delete users from it) or there are security settings within your LDAP which prohibit a deletion in this situation.

    Hope it helps


    PS: Please consider rewarding points for helpful answers on SDN. Thanks in advance!

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi gc_sdn,

      (1) Yes, in general it is possible to delete a user if the connected LDAP is read/write.

      (2) I expect your's is not. And if it should be a security setting on LDAP site, you'd have to ask your LDAP admin to check this; that wouldn't be a portal related question.

      Hope it helps


      PS: Once again, please consider rewarding points if people use their time to help you.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.