Deleting user from OF programmatically

Hi,
We have written code to add/remove users in the OID.
Deleting in OID works fine but the user remains in OF.
Is there configuration setting to cascade the deletion request to Oracle Files?
Is there away to programmatically delete the user from Oracle files?
Thanks in Advance

The agent is configured to 1 minute. Appears to work fine for adding users.
The user deletes successfully in OID. We can see the user has been deleted in OID via the OF user page (icon) .
If you now recreate the same username (day later) and try to log in, you will get "An Unexpected Error has occurred. Please report it with as much detail as possible. Please include a description of the operation you were performing and the steps to recreate it." screen.
Currently it appears that deleting a user is a two step process delete the user in the OiD and then we must manually delete them from the list in OF as well.
Is this a simple configuration setting that needs to be changed.
We have scripted the add/delete of users. So we need to be able to do this programmatically.

Similar Messages

  • Cannot remove deleted user from people picker - SharePoint Foundation 2010

    So I think I've read all the people picker articles here and I can't find a solution so I thought I'd start a new thread. Here is the issue:
    A user was deleted from Active Directory and removed from SharePoint Foundation 2010. The user was still showing in the People Picker within the site collection, so we have performed a few things to try and get rid of this user.
    User is deleted from AD
    User is deleted from SharePoint Site Collection
    Have tried stsadm -o deleteuser
    Have removed all mention of this user from UserInfo table
    User does NOT show in
    https://<SiteCollectionURL/_layouts/people.aspx?MembershipGroupId=0
    Cannot find any mention of this user anywhere.
    Ran a full crawl as we read on a forum somewhere that it might help.
    If I try and add the user back to SharePoint I get "The user does not exist or is not unique"
    If I try "stsadm -o deleteuser -userlogin DOMAIN\USER -url https://<sitecollectionurl>" I get "The user does not exist or is not unique"
    I am not sure what else I can try now. Can anyone help?
    Thanks,
    Vinny
    Vinny

    No other domain trusts that this user could be in.
    Just so everyone can stop with the warnings, we do NOT regularly delete users from the UserInfo table and fully are aware of the problems behind it, which is why it is so rarely done. But at times, you have to do what you have to do to help a customer, you
    know? This one user is the only one that was removed from the UserInfo table, but there are a few other users that are also deleted (from SharePoint, not manually from UserInfo) that are still showing as well. This one user included.
    There MUST be another place that the people picker gets it's information from. ALL of the user's old information still shows in the people picker (username, email address, display name), and yet none of that information exists anywhere other than in the
    People Picker. Mailbox is gone from Exchange, User deleted from SharePoint, User deleted from Active Directory. Is there no cache someone could point me towards that People Picker might store information in.
    Vinny

  • Cannot delete users from the Central Management Console

    I cannot delete users from the Central Management Console.  I'm logged in to Enterprise as administrator but still get the following error:
    There was an error while writing data back to the server: Sorry, you do not have the right to 'Delete objects' (id - 22) for 'koberg' (id - 725415). Please contact your system or permissions administrator if you require this right.
    Thanks in advance for any help on this matter.

    Oops, my mistake, sorry. Ok, so the Administrator cannot delete user koberg.
    Check top level:
    Logon to CMC, browse to Home > Settings and select the Rights tab. These are your top level settings. Factory default will show only Administrators and Everyone. Select the Net Access "Advanced" for the Administrators group. NB: Do not select these group names links - they will jump you out of the top level! On the Advanced rights page, ensure the right to "Delete objects" is explicitly granted.
    Then set for the Users top level folder:
    In the CMC, browse to Home, and select Users. Select the "Rights" button. Again - NB: Do not select these group names links - they will jump you out of the Users top level folder! Set the Administrators group to "Full Control". Save.
    That should be all you need. However, there is a possibility the previous admin was busy setting security not only at the account level, but on groups so we need to verify the user:
    In the CMC, browse to Home, and select Users. In the User list, select koberg. In the koberg account page, select the Rights tab. If the Administrators is not set to (Inherited Rights), make it so, and when you select the "Update" button, you should see the Net Access update to "Full Control". If this is the case, you should follow these steps on each account and accomplish this.
    And if you still can't delete it, verify the groups:
    In the CMC, browse to Home, and select Users. In the User list, select koberg. In the koberg account page, select the "Member of" tab. Note all groups koberg is a member of. Then in the CMC, browse to Home, and select Groups. Select the name hyperlink for the group(s) that koberg belongs to. On the group page, select the Rights tab, and ensure the Administrators have (Inherited Rights) - Full Control on all of these, also. If not, set it.
    Finally, I know you inherited this, but let's overview some basics of simplifying your deployment administration. Follow these guidelines, and your administration life will be so much easier.
    1. The Everyone group should never have any subgroups. Ever. All accounts on the system are a member of the Everyone group. Adding subgroups to the Everyone group is redundant.
    2. For simplicity's sake, Application level access should be set on the Adminstrators Group, and the Everyone group. I know there are customers who add groups to application rights. I don't understand why users would have an account on the system if they are not allowed access to InfoView, but it's your system.
    3. From a report object perspective, the Everyone group should be set at the top level to "No Access". This will result in them having no rights on anything at all. You break this inheritance at the application level to give them access to InfoView and other apps. On folders and objects, you ADD groups, then assign (ADD) rights as desired.
    4. If you can help it, never explicitly deny a right to any user or group for any object or application. Explicitly deny overrides any other setting. If a user belongs to group A and group B, and group A is explicitly denied a right, you can explicitly grant it for group B or the user all day long, and it will still be denied. Always try to put yourself in the position of adding groups/users, and adding rights, then inheriting as far down the folder tree as you can.

  • Automatically Deleting Users from Oracle Files

    Hi,
    We have written code to add/remove users in the OID.
    Deleting in OID works fine but the user remains in OF.
    Is there configuration setting to cascade the deletion request to Oracle Files?
    Is there away to programmatically delete the user from Oracle files?
    Thanks in Advance

    Hi Kate
    I have the same problem than you : my users also appears in the approbation paths.
    Also, how did you delete a lot of users ? Manually ? Is there a way to mass delete users, instead of deleting them 1 by 1 ?

  • Cannot delete users from Catalog Manager

    We're trying to delete users who no longer have access to OBIEE from the Catalog Manager. When we try we get an error saying access denied for user to path /users/[userid]... I know we can go out to the file system and manually delete the folder but we would like to use the Catalog Manager for this so that we can delegate this to our security staff.
    Is a configuration setting wrong somewhere? It fails with users who have been granted admin rights as well as for the administrator id.
    Security is configured with Hyperion Shared Services via an initialization block This is working fine. When we add a user to a group in Shared Services, the user catalog is created when the user logs in. We just can't get rid of it after removing the user from the Shared Services group.
    We are running everything except the Admin Tool on AIX.
    Thanks.
    Jerry

    I'm not sure I understand.
    My system is configured to use Hyperion Shared Services for authentication. We do not create users in OBIEE. We create groups in OBIEE and assign them privileges. We then create the same groups in Shared Services. We add users to the appropriate group in Shared Services. When the user logs in, their user folder is created. When we need to remove a user's access, we take them out of the Shared Services group. We then want to delete their user folder in the catalog. We log in as an admin (we even tried this with the Administrator account), but we get the error.
    Is there any way to delete users via OBI Presentation Services > Administration > Manage Catalog?
    Thanks.
    Jerry

  • Cannot delete user from monitor

    nw 5.1 server sp2a
    WS 98 client 3.40.0.0 or WS XP client 4.83 sp1
    zen 3.0
    I want to delete a suspicios file from a directory on the server.
    After a few seconds I lost connection with server.
    I login again and in MONITOR on the server there are two connection with
    my user name.
    When I want to clear first connection, MONITOR hangs.
    I want to clear first connection from Netware Management Portal, but the
    result was the same.
    Thus, I cannot delete file from the server and I cannot clear connection
    to the server.
    Help
    Doru

    Doru,
    It appears that in the past few days you have not received a response to your posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Do a search of our knowledgebase at http://support.novell.com/search/kb_index.jsp
    - Check all of the other support tools and options available at http://support.novell.com in both the "free product support" and "paid product support" drop down boxes.
    - You could also try posting your message again. Make sure it is posted in the correct newsgroup. (http://support.novell.com/forums)
    If this is a reply to a duplicate posting, please ignore and accept our apologies and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://support.novell.com/forums/

  • How to delete users from Dev and Testing once it is deleted in Production

    Sap Gurus,
    Is there any automated way to delete the users from development and testing once it is has been deleted from production. i.e. when the administrator deletes the user from production after logging in then it should automatically delete the users from testing and development without logging on in these 2 systems (development and testing). Can anyone help me in resolving this issue.
    I am very much thankful in advance..
    Regards,
    Kali

    Rob,
    Ok, you are right in that way I can allow only that person but I have to allow 2 persons at this time. i.e. If at all I have to allow one more person also how should I do it, and also what if the person uses different passwords in development and testing?
    Thanks for your response Rob.
    Kali.

  • Logging info about user, when deleting user from IDM

    Hi,
    I would like to be able create a report showing deleted users the last month.
    The problem is that I also need to fetch the user fullname, and some other IDM attributes as additional columns.
    This is not supported with a standard audit log report.
    So I would guess that I have two options:
    1. Somehow log information while the user is deleted. For example, somewhere in the "Delete User" workflow.
    But I can't find the values I'm looking for there. They are not available to me. (a user view for example).
    And it also seems hard to pass those values from the "Deprovision Form" to the "Delete User" workflow.
    So my question is here: How do I get access to a user view in the "Delete User" workflow, is that possible?
    2. I can get the values by looking directly in the audit log for each deleted user. There I can have a look at the ACCTATTRCHANGES to see what the users name was.
    But if the AuditLog has been cleared, then that information might not be available.
    I'm stuck..
    Anyone here that has an idea of how you can fetch deleted users fullname?
    Thanks & Regards,
    Henrik
    Edited by: user1154522 on May 24, 2011 2:18 AM

    Hi,
    One possible solution can be to add a handler in the delete user workflow.
    For every user that is to be deleted, write the requird information in a file/database. In your report query the information from there and geneate it.
    Note: You have to add condition to check if the users was properly deleted from IDM and resource (just to be sure) and then write/store the information in the File/table.
    If you want to store the information in the auditlog only, there is a column called comments that you can use, for this also, some customizations is needed in the Delete User Flow.
    Regards
    Arjun

  • Deleting user from Everyone group

    Hi,
    Has anyone done this?
    We have a business need to delete a user from the "Portal Everyone" group and am not able to do it.
    I have tried to pull up the everyone group to list the users in the said group and the "Group" iview times out and also the number of users maxes out the cache.
    Further the users in this could roughly total to 40,000+.
    Thoughts I have range from the following:
    Is there any tweak i can do the server's cache settings to handle that high a volume of users? What/where would I be doing some like that?
    Should I be doing this programatically perhaps?
    Any light on the matter would be grealty appreciated.
    Lastly is there a easier solution I am missing?
    thanx,
    ray

    Hi Ray,
    > Should I be doing this programatically perhaps?
    This maybe would be the fastest solution. Should be something about a five-liner. Use https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/javadocs/nw04/sp12/user management engine - version 4.0/com/sap/security/api/igroup.html#removeusermember(java.lang.String) and save/commit.
    Hope it helps
    Detlev
    PS: Please consider rewarding points for helpful answers on SDN. Thanks in advance!

  • How to manage deleted user from AD

    I can see this question was posted several times , but I am wondering if somebody can tell me what is actually right process when user is deleted from AD or when user or when usrer’s properties get updated.
    Here is the scenario:
    All users are synchronized  via AD connector to CMDB, and they can be seen in User View in SCSM (configuration item- users)
    User A leaves the company. The our process is to disable uses’s  account
     and rename it  by adding the date when user object was disabled . For example
     (April 15<sup>th</sup>, 2015)user name
    After the next sync in User View in SCSM I cannot see  user object , neither old or with disabled properties.
    The user object is also not in Deleted Items View in the Administration workplace.
    If an analyst wants to create a new ticket , he can by mistake choose disabled user from the picker dialog.
     It tells that user still exist in CMDB, but not sure why in that case it cannot be seen in
     User View.
    After one month user object will be deleted and from it will stay in hidden deleted container in OU for 3 months.
    As per one article from Travis , run as account needs to have list object on that folder even I do n see that on any Microsoft document. Or at least I did not find it.
    So basically I need to understand if per  Microsoft design user object needs to be deleted from
     CMDB after the user is deleted from AD or not? I think it should not. However, we have many contractors who
     leaves and comes back.
    I think when they come back in the picker dialog it will be listed same user several times in this case which can be a big issue.
    I need to know what actually needs to be done by AD connector and what needs to be done manually in SCSM if necessary.

    Hi,
    We could prevent the disabled Active Directory user accounts are not imported into the SCSM CMDB through the Active Directory Connector. This can be achieved by the LDAP filters in SCSM 2012.
    For a complete description of the steps mentioned above, check out this article:
    Excluding disabled users from AD Connector
    http://blog.dietergasser.com/2013/03/15/excluding-disabled-users-from-ad-connector/
    Note: Microsoft provides third-party contact information to help you find technical support. This contact information may change without notice. Microsoft does not guarantee the accuracy of this third-party contact information.
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • How to remove User IDs for deleted users from the Disk Quota list

    Hello,
    We have a computer lab setup with an Xserve managing 15 stations in the lab. Users are setup with networked home directories and quota's are setup on the drive containing the home directories to limit users' storage.
    The user account and the quota limit are setup with Workgroup Manager. When a student has been gone for a while and we are sure they no longer need the account we delete their account within Workgroup Manager and move their Home folder to the trash.
    When viewing disk usage in Server Admin (by selecting the volume and clicking the Quatas tab) user ids for deleted users are listed and it still shows the disk usage and quota settings for the user.
    How can I remove theses user ids from the quota list?
    Any help would be appreciated.
    Brian

    I would restore User's file structre back to normal just by copying from standby user?
    Did you mean copy files to a new user profile? If so, hope this link can be helpful for you
    http://windows.microsoft.com/en-in/windows/fix-corrupted-user-profile#1TC=windows-7
    For the unknown user, as you said, it's probably a user account from second OS or
    action. If you're annoying about this unknown user, then you can remove all occurrences of granted rights to the specified SID with this command icals [/remove[:g|:d]] <Sid>[...]] [/t] [/c] [/l] [/q]
    http://technet.microsoft.com/en-us/library/cc753525.aspx
    Yolanda Zhu
    TechNet Community Support

  • Unity Connection - Deleted User from DB now unable to import from LDAP

    Hello,
    We are using CUCN 8.6.  I imported a user, and no matter what changes I made calls would always go to default Unity greeting.  If I used that DN for another user it worked fine.  I deleted this user and re-added him back in, issue was still present.
    I then deleted the user from DB through cli using the following command;
    run cuc dbquery unitydirdb SELECT ObjectId from vw_User WHERE Alias = 'ccooper'
    run cuc dbquery unitydirdb EXECUTE PROCEDURE csp_UserDelete (pObjectId='3ede294c-e5fb-4713-bacd-853c6361ec87')
    Now when I try to import the user from LDAP he doesn't appear.  Other new users do.  I restarted directory sync service, performed full sync.  I am going to reboot the cluster.
    If anyone has encoutered this issue or has any troubleshooting steps, please let me know.
    Thanks,
    AK

    Used the following commands, it deleted the user and allowed me import user from LDAP
    run sql select userid, pkid from enduser where userid = 'pjon'
    run sql delete FROM enduserappservermap WHERE fkenduser='745c067f-767c-459d-b2f1-6e88bbad915e'

  • Problem deleting user from Unity Connection 8.5.1 - BulkUserDelete

    We are having issue deleting a user from Unity Connection 8.5.1
    We tried the command line to remove the user, no go. We also installed the CUC Clean Inconsistency 1.2 and that to did not remove it.
    We then tried BulkUserDelete tool and the initiial search in BulkUserDelete see's the problem user (alias) but on the next screen where you select the users, on that step the BulkUserDelete no longer see's the problem user.
    Anyone know of other way to remove a problem user from CUC?

    Thanks, Rob. I appreciate you taking the time to reply. I feel much more confident about the whole procedure now.
    I've read many of your replies to others on this same issue so I'm pretty certain you know what you're talking about. One of the documents I read that made me doubt what TAC said is the document by Saurabh - I've read it through several times already and found it very helpful. Thanks for linking to it.
    There's a scheduled back up of UC performed every night (all options are checked). Should I still do a COBRAS backup too or is that unnecessary?
    Once the upgrade file installation is complete, do I need to do anything else? From what I've read, this is similar to running a Windows (or Mac) operating system update/patch - start the upgrade file, wait for it to run and once it's complete, reboot the system and continue as usual (assuming everything went OK). Is that right?
    Thanks again!
    Lisa

  • Sometimes Unable to find User from UserProfile Programmatically (C#) in SharePoint 2007

    Sometimes the code does not find the user from User profile. It simply checks the
    profileManager.UserExists(userName[1]) and unable to fetch the user and executes the else part.
    This issue is not regular. Most of the times it fetch the same user data correctly but sometimes fails.
    What could be the possible reason of this and how to write it in the logs?
    SPSecurity.RunWithElevatedPrivileges(delegate()
                     using (SPSite site = new SPSite(SPContext.Current.Site.Url))
                         //ServerContext object current site
                         ServerContext context = ServerContext.GetContext(site);
                         //UserProfileManager object to access MOSS user profiles
                         UserProfileManager profileManager = new UserProfileManager(context, false);
                         string[] userName;
                         userName = objUserUtility.GetCurrentUserLoginName().Trim().Split('\\');
                         WriteToLog(userName[1].ToString());
    if (profileManager.UserExists(userName[1]))
    WriteToLog("Entered Inside");
    WriteToLog(userName[1].ToString());
    else
    lblUserExist.Visible = true;
                             lblUserExist.Text = "You are not configured in the Application";
    Vishal Goyal

    Vivek,
    I am already using the below line code to fetch User Profile Properties.
    UserProfile userprofile = profileManager.GetUserProfile(<userLoginName>);
    Now this error comes User Not Found:could not load profile data from the database
    Is this possible to track exact reason of this because this issue is not at all times.For same User the code  works fine but not all times.
    My organization is using Sharepoint 2007 SP1.
    Vishal Goyal

  • Deleted user from a group returned error message

    I have a group [[email protected]] with serveral users on it. I deleted one user (userA) member of the group from the system. When a user B send an email to the group [email protected] a messages is returned to all of the members of the group notifying that the user is not whithin the group.
    The group [email protected] is a dynamic group.
    From: [email protected]
    To: [email protected]
    Sent: Friday, October 9, 2009 11:12:42 AM
    Subject: Notificación del estado de la entrega
    Este informe se refiere a un mensaje que ha enviado con los siguientes campos de encabezado:
    Message-id: <[email protected]>
    Date: Fri, 09 Oct 2009 11:18:06 -0500
    From: "User"<[email protected]>
    To: [email protected]
    Subject: Test 0ne
    The message can not be delivered to the next recipients:
    Dirección del destinatario: [email protected]
    Dirección original: [email protected]
    Motivo: recipient no longer on server
    - Sun Java(tm) System Messaging Server 7.0-3.01 64bit (built Dec 23 2008)
    libimta.so 7.0-3.01 64bit (built 15:22:04, Dec 23 2008)
    - Delegated Administrator 6.4-3.01 B2008-10-22
    - Solaris 10 10/08 SPARC
    What can be happening??

    bootbk wrote:
    I have a group [[email protected]] with serveral users on it. I deleted one user (userA) member of the group from the system.
    How did you "delete" one user? What was the exact change that you made?
    When a user B send an email to the group [email protected] a messages is returned to all of the members of the group notifying that the user is not whithin the group.
    If there is a problem with a mailing group (vs. a mailing list) then notifications are sent to all members of the group.
    http://msg.wikidoc.info/index.php/Setting_Up_a_Proper_Mailing_List
    The group [email protected] is a dynamic group.
    What filter have you specified for the "dynamic group"?
    Regards,
    Shane.

Maybe you are looking for

  • Error in Java deployment step of SAP Netweaver installation

    Hi Team, We are installing SAP Netweaver 7.4 SR2. We are using How to install SAP NetWeaver Application Server Java guide. We have completed all steps upto step 27 without much hiccups, but during Java deploy stage, we are getting errors related to p

  • Open Hub DTP issue (Error 21 when writing to the local workstation)

    Hi, I am using an openhub destination to output my csv file. Its a local workstation share folder. Data Provider got around 50000 rows (expecting a 40MB file). When ever I execute the DTP, it run for first data package and fell down with below error

  • Uploader in my site

    Uploader in my site so that visitors can easily upload their pictures etc.this have been posted so many times but i cant find one with a nice solution/script. i have found php form generator demo to easily create an email form with upload capability

  • Web-Based Game Skill System

    Hello everyone, I am currently developing a web-based game website using Coldfusion 8 and MS SQL. Until recentely, things have been going well. But I am now stuck on a small issue of using an in-game skill system. The way it works (or will work) is t

  • User license exceeded

    We are in the process of installing a new DEV system and when installing the 5.0.496 version of BPC, the install app is not asking for the .lic file.  The install completes and I can log in using the sys ID, however, the system will not allow me to a