Disable user automatically when he leaves Organization

Hi All,
Is ithere any way by which we can disable user automatically when he/she leaves Organization.
User addition/deletion should be automatic.
Current authentication way is Enterprise login.
Is there any readymade SDK available for this?
We are using BO XI R2 (JAVA SDK)
Please suggest,
Thanks in advance
Regards,
Chaitanya

When the person leaves the organization you can run an app to go in a delete him/her.
Here is a sample: [Delete User|http://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/d022c31a-3857-2c10-bd91-f3495fece879]

Similar Messages

  • Disable user automatically when he/she leaves Organization

    Hi All,
    Is ithere any way by which we can disable user automatically when he/she leaves Organization.
    User addition/deletion should be automatic.
    Current authentication way is Enterprise login.
    Is there any readymade SDK available for this?
    We are using BO XI R2 (JAVA SDK)
    Thanks in advance,
    Regards,
    Chaitanya.

    Hi Chaitanya,
    Maintainence of users and groups is an Administrative task.
    Normally outside of the SDK this would simply involve disabling or deleting the user from the User+Groups area of the CMC. This action will result in the ownership of the schedule list for the user passing over to the Administrator.
    As this is the workflow when not using the SDK it will be possible to automate this workflow with the SDK too.
    In XI3.1 there are several notes which cover this workflow, i.e.:
    1609054 - How to remove a user using Java SDK from Business Objects Enterprise?
    The same packages\classes will apply to XIr2:
    Package com.crystaldecisions.sdk.occa.infostore
    This package provides the ability to query for InfoObjects, as well as add, delete, and update them.
    Please also be aware that XIr2 is no longer in support, you would be advised to upgrade to at least XI3.1 SP3 for patch support.
    I hope this is a very helpfuil answer to you.
    Kind regards,
    John

  • Disconnect wireless users when they leave the building

    Hi!
    I wanted to know is  there any functionality or solution that drops wi-fi users automatically when they leave permitted area, for example when they go out of the shop? This is for restriction of unwanted connections from outside the building to guest wi-fi.
    Best wishes, Zhomart

    You would have to really survey the area to see where the access points can be placed and then what power should they be. The issue you will face is that the 5ghz attenuate's faster than the 2.4ghz so this might be tricky. Your coverage toward the exterior walls will be poor for your users and that's not a good thing. All you really can do is buy window film that blocks rf and or paint that blocks rf. This will also affect your cellular, etc.
    Sent from Cisco Technical Support iPhone App

  • Disable users when the organization to which these users belong is disabled

    Hi Alll
    I have a requirement of disabling all the users belonging to an organization when a particular organization is disabled/deleted.
    How to I proceed to achieve this?
    Do I need to create any adapeter class.If so pls guide me by giving the relevant steps.
    Thank you
    sas

    Hi Guys
    I found that my adapter is perfect.
    The problem is with invoking the adapter.
    I have written an adapter that recursively disables the users,I will paste the code below.
    I now dont understand how to invoke the adapter.I hava created a task under Xellerate User process definition and attached the adpter to it.
    The name of the task that I created is the value of the decode field that I created in lookup trigger.
    Pls tell me how do i use the adapter that I created?
    Thank you
    sas.
    Below is the auto generated code when I created Adapter
    /* Copyright (c) 2001 - 2007, Oracle Corporation. All rights reserved.
    package com.thortech.xl.adapterGlue.ScheduleItemEvents;
    import com.thortech.xl.dataobj.*;
    //import com.thortech.xl.adapterGlue.*;
    //import com.thortech.xl.dataobj.tcDataSet;
    import java.io.IOException;
    import java.util.*;
    import java.io.FileWriter;
    import java.io.File;
    import java.sql.Timestamp;
    import java.text.DateFormat;
    import com.thortech.xl.dataobj.util.tcAdapterTaskException;
    import com.thortech.xl.dataobj.util.*;
    import com.thortech.xl.dataobj.util.tcJarEntryClassLoader;
    import com.thortech.xl.remotemanager.*;
    import java.rmi.*;
    import java.net.URL;
    import java.lang.reflect.Constructor;
    import java.lang.reflect.Method;
    import java.lang.reflect.Modifier;
    import java.lang.reflect.InvocationTargetException;
    import java.lang.reflect.Field;
    import java.net.*;
    public class adpDISABLEUSER extends com.thortech.xl.adapterfactory.events.tcAdpEvent {
         public adpDISABLEUSER() {
              super();
              setEventName("Disableuser");
    Hashtable ihTaskRetVals = new Hashtable();
    // Adapter Variables
    int loopVar; // Lopp Variable
    long orgKey; // Organization key
    String userKeyCname = "Users.Key"; // user key column name
    protected void implementation() throws Exception {
              try {
              if (! initAdapter("Disableuser"))
                   return;
    // Run Time Variables
    loopVar = ((Integer)getRunTimeValue("loopVar")).intValue();
    orgKey = ((Long)getRunTimeValue("orgKey")).longValue();
                   // Execute Tasks and store results in Hashtable...
    ihTaskRetVals.put("GETORGUSRLIST", GETORGUSRLIST());
    ihTaskRetVals.put("GETUSRCOUNT", GETUSRCOUNT());
    for (;loopVar < ((Integer)ihTaskRetVals.get("GETUSRCOUNT")).intValue();loopVar+=1)
    ihTaskRetVals.put("GETUSRKEY", GETUSRKEY());
    ihTaskRetVals.put("DISABLEUSER", DISABLEUSER());
              finalizeAdapter();
              } catch (tcAdapterTaskException e) {
                        e.printStackTrace();
                        updateSchItem("R", e.getMessage(), e.getReason());
                        return;
              } catch (Exception e) {
                        e.printStackTrace();
                        updateSchItem("R", e.getMessage(), getReason("", e));
                        return;
    // *** getOrgUsrList ***
    private Object GETORGUSRLIST() throws Exception {
                   Object oRetVal = "";
                   String msTaskName = "getOrgUsrList";
                   try {
                             System.out.println("Running GETORGUSRLIST");
                             Thor.API.Operations.tcOrganizationOperationsIntf moXlApi =
                             (Thor.API.Operations.tcOrganizationOperationsIntf)APITaskLocal.getUtilityOperations(getDataBase(),
                             "Thor.API.Operations.tcOrganizationOperationsIntf");
                             oRetVal = moXlApi.getListOfUsers(orgKey);
                   } catch (Exception e) {
                             e.printStackTrace();
                             try {
                                  String exClassName = e.getClass().getName();
                                  Class exCls = Class.forName(exClassName);
                                  Field msgField = exCls.getField("isMessage");
                                  String errMsg = (String)msgField.get(e);
                                  if (errMsg != null) {
                                       throw new tcAdapterTaskException("adpDISABLEUSER", "getOrgUsrList", errMsg, "", "");
                             } catch (ClassNotFoundException cnfe) {
                                  cnfe.printStackTrace();
                                  throw new tcAdapterTaskException("adpDISABLEUSER", "getOrgUsrList", e.getMessage(), "", "");
                             } catch (NoSuchFieldException nsfe) {
                                  nsfe.printStackTrace();
                                  throw new tcAdapterTaskException("adpDISABLEUSER", "getOrgUsrList", e.getMessage(), "", "");
                             throw new tcAdapterTaskException("adpDISABLEUSER", "getOrgUsrList", e.getMessage(), "", "");
                   return returnVal(oRetVal);
    // *** getUsrCount ***
    private Object GETUSRCOUNT() throws Exception {
                   Object oRetVal = "";
                   String sTaskName = "getUsrCount";
                   try {
                             System.out.println("Running GETUSRCOUNT");
                             // Load class
                             Class moTargetClass = Class.forName("Thor.API.tcResultSet");
                             // Initialize method
                             Class[] moMethodParmTypes = new Class[] {};
                             Object[] moMethodParams = new Object[] {};
                             Method moMethod = moTargetClass.getMethod("getTotalRowCount", moMethodParmTypes);
                             // Invoke method
                             oRetVal = moMethod.invoke(ihTaskRetVals.get("GETORGUSRLIST"), moMethodParams);
                   } catch (Exception e) {
                             e.printStackTrace();
                             if (e instanceof InvocationTargetException) {
                                  Throwable t = ((InvocationTargetException)e).getTargetException();
                                  throw new tcAdapterTaskException("adpDISABLEUSER", "getUsrCount", t.getMessage(), "", "");
                             } else {
                                  try {
                                       String exClassName = e.getClass().getName();
                                       Class exCls = Class.forName(exClassName);
                                       Field msgField = exCls.getField("isMessage");
                                       String errMsg = (String)msgField.get(e);
                                       if (errMsg != null) {
                                            throw new tcAdapterTaskException("adpDISABLEUSER", "getUsrCount", errMsg, "", "");
                                  } catch (ClassNotFoundException cnfe) {
                                       cnfe.printStackTrace();
                                       throw new tcAdapterTaskException("adpDISABLEUSER", "getUsrCount", e.getMessage(), "", "");
                                  } catch (NoSuchFieldException nsfe) {
                                       nsfe.printStackTrace();
                                       throw new tcAdapterTaskException("adpDISABLEUSER", "getUsrCount", e.getMessage(), "", "");
                             throw new tcAdapterTaskException("adpDISABLEUSER", "getUsrCount", e.getMessage(), "", "");
                   return returnVal(oRetVal);
    // *** getUsrKey ***
    private Object GETUSRKEY() throws Exception {
                   Object oRetVal = "";
                   String sTaskName = "getUsrKey";
                   try {
                             System.out.println("Running GETUSRKEY");
                             // Load class
                             Class moTargetClass = Class.forName("Thor.API.tcResultSet");
                             // Initialize method
                             Class[] moMethodParmTypes = new Class[] {String.class};
                             Object[] moMethodParams = new Object[] {userKeyCname};
                             Method moMethod = moTargetClass.getMethod("getLongValue", moMethodParmTypes);
                             // Invoke method
                             oRetVal = moMethod.invoke(ihTaskRetVals.get("GETORGUSRLIST"), moMethodParams);
                   } catch (Exception e) {
                             e.printStackTrace();
                             if (e instanceof InvocationTargetException) {
                                  Throwable t = ((InvocationTargetException)e).getTargetException();
                                  throw new tcAdapterTaskException("adpDISABLEUSER", "getUsrKey", t.getMessage(), "", "");
                             } else {
                                  try {
                                       String exClassName = e.getClass().getName();
                                       Class exCls = Class.forName(exClassName);
                                       Field msgField = exCls.getField("isMessage");
                                       String errMsg = (String)msgField.get(e);
                                       if (errMsg != null) {
                                            throw new tcAdapterTaskException("adpDISABLEUSER", "getUsrKey", errMsg, "", "");
                                  } catch (ClassNotFoundException cnfe) {
                                       cnfe.printStackTrace();
                                       throw new tcAdapterTaskException("adpDISABLEUSER", "getUsrKey", e.getMessage(), "", "");
                                  } catch (NoSuchFieldException nsfe) {
                                       nsfe.printStackTrace();
                                       throw new tcAdapterTaskException("adpDISABLEUSER", "getUsrKey", e.getMessage(), "", "");
                             throw new tcAdapterTaskException("adpDISABLEUSER", "getUsrKey", e.getMessage(), "", "");
                   return returnVal(oRetVal);
    // *** disableUser ***
    private Object DISABLEUSER() throws Exception {
                   Object oRetVal = "";
                   String msTaskName = "disableUser";
                   try {
                             System.out.println("Running DISABLEUSER");
                             Thor.API.Operations.tcUserOperationsIntf moXlApi =
                             (Thor.API.Operations.tcUserOperationsIntf)APITaskLocal.getUtilityOperations(getDataBase(),
                             "Thor.API.Operations.tcUserOperationsIntf");
                             moXlApi.disableUser(((Long)ihTaskRetVals.get("GETUSRKEY")).longValue());
                   } catch (Exception e) {
                             e.printStackTrace();
                             try {
                                  String exClassName = e.getClass().getName();
                                  Class exCls = Class.forName(exClassName);
                                  Field msgField = exCls.getField("isMessage");
                                  String errMsg = (String)msgField.get(e);
                                  if (errMsg != null) {
                                       throw new tcAdapterTaskException("adpDISABLEUSER", "disableUser", errMsg, "", "");
                             } catch (ClassNotFoundException cnfe) {
                                  cnfe.printStackTrace();
                                  throw new tcAdapterTaskException("adpDISABLEUSER", "disableUser", e.getMessage(), "", "");
                             } catch (NoSuchFieldException nsfe) {
                                  nsfe.printStackTrace();
                                  throw new tcAdapterTaskException("adpDISABLEUSER", "disableUser", e.getMessage(), "", "");
                             throw new tcAdapterTaskException("adpDISABLEUSER", "disableUser", e.getMessage(), "", "");
                   return returnVal(oRetVal);
    }

  • Dealing with Person column when someone leaves the organization?

    We have a list which has a person (people picker) column.  This column pulls from (is validated against) several possible sources including Active Directory.  If a name cannot be found when adding/updating a record then the following error message
    appears in red just below that field:
    > No exact match was found. Click the item(s) that did not resolve for more options.
    We have a particular record we are trying to update.  Per security policy former employees *must* be deleted from AD.  Now, however, that the person in the person column of this record has left it is impossible to update his record due to the mentioned
    error message.  His name won't validate even though he still exists in the User Information List.
    How can this be overcome?  Is it a configuration issue?  It must be possible to update the record of a person who has been deleted from AD; otherwise, this would present major issues to organizations.  We are considering using text for person
    names instead of system-validated person columns and clearly that would not be Microsoft's intent.
    Question originally posted on: 
    http://sharepoint.stackexchange.com/questions/103803/dealing-with-person-column-when-someone-leaves-the-organization/103949#103949
    The given answer indicates an issue with our security policy, but I'm told our policy of deleting (not disabling) AD accounts is fairly standard in the industry.  Is Sharepoint not properly equipped to deal with deleted AD accounts?  If so, it
    would seem to render the people picker useless.

    I would agree, this is an issue with the security policy (simply disabling users is also quite common, e.g. in case they return to the organization you can simply reactivate their account). But are you also removing the person from the User Information
    List within SharePoint?
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Disabling save message when leaving a database data block

    Hi all,
    im using Forms 6i
    I have two data blocks that are database blocks, then the user opens an excel file and a function starts filling the forms with data obtained form the file.
    If i only fill one block there is no problem, but if i start filling the two when i leave one block with go_block it asks me to save the changes.... is it possible to disable that message and then when the procedure finish filling the two blocks the user can commit changues with F10?
    Best Regards,

    try POST before going to next block !

  • How do I disable the automatic startup on HP Photosmart Premier when I turn my computer on?

    Someone else posted ths question a month ago, but still no answers.  Anyone?
    How do I disable the automatic startup on HP Photosmart Premier when I turn my computer on?
    Windows XP, SP3 operating system recently re-installed so I also reinstalled my printer software.  Now, for some reason, each time I turn my computer on, my HP Photosmart C4100 all-in-one photosmart premier software opens.  It is not in my startup.  This slows down my computer terribly, which is why I never used the program before my re-install.  How can I disable this feature?  I only print, I don't use it for photos.
    Any help here is appreciated.

    Run msconfig.exe from the start button (type in msconfig).  When it comes up go to the Startup tab and find and deselect the HP product you do not want to start.  Save and reboot computer.  Now try.
    Say thanks by clicking the Kudos Thumbs Up to the right in the post.
    If my post resolved your problem, please mark it as an Accepted Solution ...
    I worked for HP but now I'm retired!

  • Hi I do not want iTunes to open up automatically when I turn on my macbook pro.  I tried going to System Preferences Users and Groups Login Items and then I took iTunes off the list but it still opens up automatically when I turn on my laptop.

    Hi I do not want iTunes to open up automatically when I turn on my macbook pro.  I tried going to System Preferences>Users and Groups>Login Items and then I took iTunes off the list but it still opens up automatically when I turn on my laptop. What should I do?

    Hi r,
    Make sure you close iTunes before shutdown.  And you're quite welcome.

  • I am trying to stop programs from opening automatically when I turn my computer on.  I tried system preferences users and groups login items...then I deleted them from the list but it did nothing.

    I am trying to stop programs from opening automatically when I turn my computer on.  I tried system preferences>users and groups>login items...then I deleted them itunes and emial from the list but it did nothing.  They continue to open up every time I turn on my Macbook Pro.

    Hi r,
    It sounds like you're running Lion?
    Have you tried running Verify and/or Repair Disk?
    Have you tried running Repair Permissions?
    Do you have at least 15% free space available on your HD?

  • TS4020 I live in a house with multiple iCloud users.  When they try to turn on "Find my computer"  they get the message that they will have to disable my "find my computer" setting in order to enable theirs.  How can they all be enabled at the same time?

    I live in a house with multiple iCloud users.  When they try to turn on "Find my computer"  they get the message that they will have to disable my "find my computer" setting in order to enable theirs.  How can they all be enabled at the same time?

    Try this support document for information on how to contact Apple and account security. Apple ID: Contacting Apple for help with Apple ID account security

  • Outlook Contact Card - Organization Tab disabled users

    In Outlook there is a Contact Card showing detailed information about that person. the Organization tab shows the contact's "Manager", "Shares Same Manager" (other contacts with the same manager), and "Direct Reports" (people
    that report to that contact).
    The problem i am seeing is that Users disabled in Active Directory (people that have left the company) are showing up in the Organization Tab.
    How can i filter out disabled users from this list for anyone using Outlook?
    I cannot permanently delete users from Active Directory until after a disabled account reaches a certain age. Also i would prefer not modifying the disabled Active Directory user accounts.
    We mostly run Outlook 2010 with a few people running Outlook 2013

    Hi,
    Outlook has no control over this, it just displays what it got from the server end. And to my knowledge, there is no such a feature to filter out those users from that list, at least on Outlook client.
    Regards,
    Ethan Hua
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • HT201250 Will the automatic backups backup the entire disk (even other user accounts), when I'm not logged into those accounts?

    Will the automatic backups backup the entire disk (even other user accounts), when I'm not logged into those accounts?
    I want to be assured that my back up is working completely.    What if my MacBookPro auto-logs off my account during the backup due to no activity?   Or, is the backup considered activity and it won't log off?
    What about  the Energy saving options - will they affect the backup ?

    FOTO123456 wrote:
    Will the automatic backups backup the entire disk (even other user accounts), when I'm not logged into those accounts?
    Assuming you mean via Time Machine, yup.    It backs up your entire system, including all user accounts (unless you specifically exclude things).
    What if my MacBookPro auto-logs off my account during the backup due to no activity?   Or, is the backup considered activity and it won't log off?
    I've never tried it, but the backups run as the "root" user, so will probably continue.  If they don't, it's not a problem, as the next backup will "catch up" with all changes.
    What about  the Energy saving options - will they affect the backup ?
    Not really.  If you have the Mac set to shut down at a particular time, that will of course interrupt a backup if one is running.  But again, the next backup will catch up.

  • Assigning the role automatically when a user is created.

    Hi all,
    we are usign the EP 7.0 eph1 sp6 . we have a requirement that:
    When we are creating a new user and click save, then a user is created and to that user automatically a role should get assigned (without manual assignment of role to user). the role will have the framework page etc.
    and suppose we are assigning some role to the same user the above assigned automatic role should be deassigned automatically again.
    is there any possible way.
    Please help.
    regards,
    kavitha

    Hi
    When we are creating a new user and click save, then a user is created and to that user automatically a role should get assigned (without manual assignment of role to user). the role will have the framework page etc.
    for the above one we can follow the simple process ,
    as u need 2 assign the role automatically  while creating the user it self, u have to do the following.
    In user Adminstartion we have a button called Copy To New User.
    u just slect a user already created and just click on the button above, the  new user which is going to be created will get all the credntails and roles groups ,everything as the previous one.
    Just have a try .
    Sandeep

  • I updated my iMac to lion and now when i leave my desktop and it goes into stand by it like a picture is taken of the screen and when i want to log in the mouse point removes pixels so i can get to the user login screen this never happened ith snow leopar

    i upgraded my iMac to lion and now when i leave my desktop and it goes into stand by mode, its like a picture is taken of the actice desktop and when i want to log in the mouse point removes pixels so i can get to the user login screen this never happened ith snow leopard. does anyone else experience this and is there a fix?

    I have an iMac 8, 1 that I upgraded Leopard to Snow Leopard.  It was totally updated with the latest from Apple when I bought and tried installing Lion.  The upgrade failed, shot my OS and I couldn't boot.  Had the constant spinner on a grey screen..  did a format of the drive, hdd repair and everything came back clean... got back to Snow Leopard and all the updates on it again and then retried the Lion thing... same bs... dead duck.  Crashed my system one too many times.  I can't see where a few small changes, mostly app related can be classified as an OS upgrade and is not compatible with my iMac.  I have the stuff running on my Mac Pro but have yet to notice anything impressive.  I've always used F3 and really didn't require Mission Control.  Just open you app folder for launch pad... duh?  I use the hot corners anyhow.  As far as Safari is concerned... as a power user, Apple missed the boat on that for me.. full screen etc.. Wow.  I don't like the new Mail either..
    As you can see/read, I'm less than impressed with this release from Apple but I own so many of their products that I will have to put up with it for now... somehow the MS logo should apply to this release Steve.

  • Disable AD account when a user was deleted

    Hi everyone,
    I have the following scenario:
    SQL MA
    AD MA
    FIM MA.
    I have to disable an AD user Account when a user in SQL Server dissapear (deleted), but I don't know how to configure this.
    Do you have any idea?
    Thanks in advance,

    Thanks Everyone for the solution. The above was not working with me because the code was not complete code. I am not developer and didn't figure out the syntax code however my colleague helped me to correct the code. Here is the complete code and missing
    part is marked with underline:
    long userAccountControl = 512; //ADS_UF_NORMAL ACCOUNT
                if (csentry["userAccountControl"].IsPresent)
                    userAccountControl = csentry["userAccountControl"].IntegerValue;
                userAccountControl = userAccountControl | 2; //ADS_UF_DISABLED
                csentry["UserAccountControl"].Value = userAccountControl.ToString();
                return DeprovisionAction.Disconnect;
    Regards
    Sarwar
    Sarwar

Maybe you are looking for