deleting an imported user

Version 1
    This document was generated from CDN thread

    Created by: Bilge Cetin on 07-06-2012 07:39:05 AM
    Hi,
    I believe I come across a bug. 
     
    When I import a user, let's say testuser, from LDAP. Then do the deletion for the test user as

    <pre style="padding: 1em; border: 1px dashed #2f6fab; background-color: #f9f9f9; line-height: 1.1em;">DELETE http://<connection-server>/vmrest/users/{objectid}</pre>

     
    The user is deleted however when I want to import the same user again from LDAP, the user is not listed in the import user list (even after an LDAP sync). I believe there is an internal mechanism blocking imported users to be listed in the import user list. And after a wadl deletion, the user us still kept in that blocked list to be shown.
     
    If I do the same deletion from the admin interface, I experience no problem. And the deleted user is listed back again in the import user list.
     
    The CUC version that I am using is 8.6.1.20000-109.
     
    Can anybody propose a work around or am i doing something wrong?

    Subject: Re: New Message from Bilge Cetin in Cisco Unity Connection(CUC) - CUPI Ques
    Replied by: Sascha Monteiro on 07-06-2012 08:14:13 AM
    Looks like an old bug,
    There is a cli command, not sure the exact syntax though, something like
    utils cuc clean..
    I could look it up tomorrow if you can't find the command

    Sent from my iPhone4

    On 07/06/2012, at 21:39, Cisco Developer Community Forums <cdicuser@developer.cisco.com> wrote:

    > Bilge Cetin has created a new message in the forum "CUPI Questions":
    >
    > --------------------------------------------------------------
    > Hi,
    > I believe I come across a bug.

    > When I import a user, let's say testuser, from LDAP. Then do the deletion for the test user as
    >
    > <pre style="padding: 1em; border: 1px dashed #2f6fab; background-color: #f9f9f9; line-height: 1.1em;">DELETE http://<connection-server>/vmrest/users/{objectid}</pre>
    >

    > The user is deleted however when I want to import the same user again from LDAP, the user is not listed in the import user list (even after an LDAP sync). I believe there is an internal mechanism blocking imported users to be listed in the import user list. And after a wadl deletion, the user us still kept in that blocked list to be shown.

    > If I do the same deletion from the admin interface, I experience no problem. And the deleted user is listed back again in the import user list.

    > The CUC version that I am using is 8.6.1.20000-109.

    > Can anybody propose a work around or am i doing something wrong?
    > --
    > To respond to this post, please click the following link:
    >
    > <http://developer.cisco.com/web/cuc/forums/-/message_boards/view_message/5834837>
    >
    > or simply reply to this email.

    Subject: RE: deleting an imported user
    Replied by: Bilge Cetin on 07-06-2012 08:25:36 AM
    Ok, I found it:
    utils cuc users bulk_clean_orphans mapentries

    Also here is the relevant link in the cisco forums: https://supportforums.cisco.com/message/3590990#3590990

    Thanks a lot for the lead.