Enable a disabled user on the native oracle resource

I have to enable a disabled account on the native resource from a form.
Field name='view.accounts[$(Resource)].enable'
doesnot work whereas
Field name='view.accounts[$(Resource)].disable'
works properly. I have a custom adapter which has the required "SupportsAccountDisable( )" method returns a true value for both enable and disable to work as per the IdM documentation.
Please help.

This is an AccessManager related forum. I�m afraid that you won�t get an answer for Identity Manager.
-Bernhard

Similar Messages

  • Where can I disable users in the File Vault Login-Screen?

    Hi! I have four users on my mac, but only two should start the mac - where can i disable the others?
    Thank you!

    I would like to know how to do this also.  I have enabled all user accounts to unlock FileVault, but some accounts do not have secure passwords so I would like to disable these.
    The only way I can see to do this, is to disable FileVault and then re-enable it with only the accounts I want.  Problem with this is it will take a while.
    Regards,
    Keith.

  • Even after enabling a disable users in essabse  its not working

    A user has been disabled for not logging in more than 120 days .i have moved the user from disabled usernames under security to enabled users.but the moment user logs in he is moved to disabled users names automatically what could be the problem.can any one please suggest.

    I'm having exactly the same problem with my iPhone 4. Since the upgrade to IOS5, I've noticed I can no longer hear calls through the ear-piece, though using the speaker phone option works fine.
    I took my phone to the  Apple Store in Sydney and they advised that the problem was related to my sim card & that I should contact my telco for a replacement. I seriously didn't believe the Apple rep when she said this, but politely said thanks, went home and tried it out by swapping my sim with my wife's.
    Guess what... it didn't make the slightest difference.
    My wife has an iPhone 4 still running IOS4 and the ear-piece works fine. I even put my sim card into her phone and it worked fine as well. So the issue is definitely not related to the sim card.
    It sounds like a common issue affecting a lot of iPhone 4 users that have upgraded to IOS5. I'm surprised Apple hasn't acknowledged this and have a patch available to correct (it doesn't sound like a hardware issue).
    Anyway, looks like a trip back to the Apple store for more great suggestions.

  • 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);
    }

  • How do I get to the tools function, with windows 7, to enable or disable cookies? the link only pertains to XP.

    When I click on the Firefox box at the to of the browser, there is no "tools" in the drop down menu.

    Hey utahron,
    Try going to ''Options->Options'' in the Firefox menu. This will open Options menu and you can change your settings of cookies in the Privacy tab.
    You should also look at [https://support.mozilla.com/en-US/kb/common-questions-after-upgrading-firefox-36 this article]. It describes some of the differences between the older version of Firefox and FF 8.
    Hope this helps!

  • Updating date while enabling/Disabling user in AD

    Hi All,
    We are using FIM 2010 R2 SP1 and integrated with AD.
    All integration is done through synch rule and no coding.
    Now we have a new requirement to update date in AD while enabling and disabling user.
    Kindly suggest, how it can be achieved through synch rule.
    Thanks,
    Mann

    Hi Mann.Cool,
    You can't set a date dynamically thought sync rule. Instead, I suggest you parse useraccountcontrol and set an custom attribute with value enabled/disabled.
    See
    http://idmgnt.wordpress.com/xpath-custom-expression/ (Check if an account is enable or not)
    Once is done:
    Create two new sets "Enabled users" and "Disabled users"
    Create a WF with T4F Function Evaluator, to set your date attribute (http://oxfordcomputergroup.com/technology/software-tools-components )
    Create the mpr
    Let me know if you want more details
    Regards,
    Sylvain

  • Customizing the "DISABLE USER"  Function

    Hi.
    I am trying to customize the *"Disable User"* Function in IDM.
    I have created a small User Form, which contains a simple Checkbox. When this Checkbox is checked, I would like to DISABLE a given User.
    Basically, I know that this can be done from the Main IDM User Interface (User-----Disable), etc, etc. But, I actually want to Disable this particular function completely.
    What I mean is : I want to disable it for certain Admin Users.
    So, I guess I have two questions :
    (a) If I disable this function for a particular Administrator (meaning, this administrator would NOT have the capability to disable users), then would this same administrator still have the capability to DISABLE users via the user form which I created?
    (b) How exactly can I invoke/execute the "DISABLE USER" function from my user form? When the "Checkbox" there is checked...........*what then?*
    Thanks.

    Oops! Slight problem.
    The code you gave me doesn't seem to work. I keep getting the error "Unknown op value"
    (I think it's referring to the part where : *"<Argument name='op' value='disableUser'/>"*
    However, I might have a solution : perhaps the problem stems from the fact that I am using a CHECKBOX, to activate "Disable User";
    perhaps, I ought to be using something else *(like, a BUTTON).*
    Logically, this might make sense (and it might explain why I am getting that error).
    Let's say that I disable a user by "checking" that checkbox; but, what if I want to RE-ENABLE that User? Of course, I could simply insert another "Action", which enables user by "Un-checking". But, perhaps, the workflow would prefer if I simply had two separate Buttons : one for ENABLE, another for  DISABLE.
    What do you think about this?
    Thanks, Sec_Tk
    P. S. Sorry, but you didnt mention what I asked about initially : if a certain Administrator does not have the "DISABLE USER"  capability, can he still effectively perform this "Disable" task from the User Form?

  • Delegation to allow HelpDesk users to Enable and Disable accounts

    We currently have a HelpDeskAdmins group that these users are allowed to perform certain functions within Active Directory. I need to add the ability to Enable and Disable user accounts.
    I have been looking through the Delegation of Control settings but do not know which ones to add to enable this...
    Has anyone setup accounts to perform this before?

    You need to create a delegation for the attribute userAccountControl. So run the delegation wizard as usual, but select "Create a custom task to delegate", then pick up "User objects", then "Property-specific" and select the
    "Read and Write userAccountInformation".
    So, you can do it directly on the attribute, or you can do it using the property set User-Account-Restrictions (this last one actually give you a little bit more permission, see
    here).
    Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.

  • How to disable an out of the box disable User process task  from resource?

    How should I disable the out of the box disable User process task that is assigned to a particular resource? If I disable this disable User process task, when the user is provisioned to the same resource will I be able to stop this disable User process from running?
    My requirement: I need to disable the disable user process task from three resources x, y and z. Whenever a user is provisioned to one of these resources I should stop this disable user process task an out of the box process task from running. How can this be accomplished?? Please help me out on how to configureto remove the process task in the OIM Admin console to stop the process task.

    You can avoid the disable task from triggering by removing the Disable Process Or Access to Application from the task effect drop down in the process task. But this task is triggered once the user is disabled. But still I didn't understand the exact scenario.
    By the way the disable task is triggered when the user gets disabled and not when the user is provisioned.
    Edited by: vindla on Aug 1, 2011 10:26 PM

  • [b]create users and roles in oracle 9.2 db[/b]

    Could some one tell which utility is used to create new roles and new users in Oracle 9.2.0.1 db and how.
    Thanks.

    CREATE ROLE
    Purpose
    Use the CREATE ROLE statement to create a role, which is a set of privileges that can be granted to users or to other roles. You can use roles to administer database privileges. You can add privileges to a role and then grant the role to a user. The user can then enable the role and exercise the privileges granted by the role.
    A role contains all privileges granted to the role and all privileges of other roles granted to it. A new role is initially empty. You add privileges to a role with the GRANT statement.
    When you create a role that is NOT IDENTIFIED or is IDENTIFIED EXTERNALLY or BY password, Oracle grants you the role with ADMIN OPTION. However, when you create a role IDENTIFIED GLOBALLY, Oracle does not grant you the role.
    See Also:
    GRANT for information on granting roles
    ALTER USER for information on enabling roles
    ALTER ROLE for information on modifying a role
    DROP ROLE for information on removing a role from the database
    SET ROLE for information on enabling and disabling roles for the current session
    Oracle9i Heterogeneous Connectivity Administrator's Guide for a detailed description and explanation of using global roles
    http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96540/statements_612a.htm#SQLRF01311
    Joel P�rez

  • Invalid Credential/Disabled User

    Hi,
    I have a requirment of capturing the message "Invalid Username/Password" or Disabled User on the OAM Login (Enterprise Login Page). For example -
    I have 2 applications which are protected by the same authentication scheme and they are SSO enabled. If a user tries to access those applications will be challanged by the Login Page. If the user puts the wrong password or user name over to the Login Page, I should be able to caputre that message and show a message to the User saying that "The username or password provided are wrong". Similar is the case for the Disabled users, so if the userid is disabled and the user tries to get in to the application he should get a message "Your User ID is disabled" on the Log in Page. Is there any way I can achive this. Is it a Out of Box functionality of OAM or I have to write any custom scheme for this. Please help me on this.
    Thanks&Regards
    Debi

    Originally Posted by DParkes
    Can you try this from the standalone GWCheck, Tommy and I think the server
    side is broken for this specific operation
    Cheers Dave
    Dave Parkes [NSCS]
    Occasionally resident at http://support-forums.novell.com/
    Awesome. Local GWCheck works when you specify a user that is on the same post office as the library. The server task does not work even though the user is on the same po. Is this a confirmed bug?

  • Error(1013009) Administrator Has Temporarily Disabled User Commands

    We have several applications that are encountering this error when running business rules or calcs:
    Cannot calculate. Essbase Error(1023040): msg from remote site [[Tue Sep 27 17:49:47 2011]mdcless.loe.corp/UVMUnit/Ef/planadmin/Error(1013009) Administrator Has Temporarily Disabled User Commands]
    The local admin is not restructuring the application/database at the time of the error and no data exports are running either. What else could be the cause of this message?
    on 11.1.1.3
    windows server 2003 64 bit
    essbase 64 bit
    Thanks
    Jeff

    Have you had a read of the following article on my oracle support to see if it relates to the issue you are experiencing - "Error "1013009 - Administrator Has Temporarily Disabled User Commands" [ID 1216053.1]"
    I do seem to remember this being a bug though I can't remember whether or when it was fixed.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • EBS-UM Enable and Disable

    Hi all,
    We have enable and disable tasks in EBS-UM.Can anyone say me how to check the enable and disable user in target?
    I wanted to know fnd_user is the table where we can check in target??

    Hi Skud,
    Indeed Jeff's answer is correct and handles the problem. I would like to mention another way,
    Edit the desired button >> Navigate to Conditions >> Pick ( Exists SQL query returns at least one row) >> In Expression 1 box, type code similar to this :
    select UPPER (:app_user) from dual where UPPER(:app_user) in ( 'FATEH', 'MARY')Best Wishes,
    Fateh

  • Multiple profiles/users on the same device

    Hi there,
    I know that iOS is a single user environment.
    But, I am currently working in an enterprise environment and I was wondering if it was possible to have several profiles on the same device, maybe using certificates or so?
    Thanks for your help
    Cheers,
    Pierre.

    It would seem that unlike previous iOS devices the iPad and possibly AppleTV call for the ability to enable multiple profiles/users on the same device.
    I would suggest that if this capability is not on the roadmap for iOS by now then there is a least one place where alternatives to the iPad will have a major advantage.
    The thought they I would have to buy multiple iPads one for myself, my wife and my child because of a software constraint is untenable from a ecological standpoint (all these devices end up as landfill) let alone the economic one.
    Also as I use the iPad I see it's potential to become as important computing platform to me as my laptop eventually surpassing it. In this light I can't see how it could remain just a personal device.

  • How do I share iTunes Libraries across users on the same computer

    I want to share my iTunes library with my kids on the same computer. How do I do that? They each have their own account identity?
    I tried HomeShare and ITunes library sharing in Prefs, but I can't seem to figure this out.
    I want to share CD's I've burned in w/o doing it repetitively for each account.
    Thanks!

    Hi there,
    First..I am new to this forum and find the information provided to be very helpful... I had followed the iTunes link above to enable sharing between users in the same computer but it appears to be working on partially. What setup am I looking for ?
    1. We have an iMac (Snow Leopard) with 1 Adult ID and 2 children IDs
    2. The iTunes music folder is stored in a Shared public folder where the Adult ID has read/write access and the 2 kids with read-only access (so that they don't accidently delete songs...:-)
    3. The iTunes on the Adult ID has the access to purchase songs. The kids have no acccess to buy songs
    4. All songs, podcasts to be visible to all users
    What has happened ?
    1. I am able to make the base of songs visible to all users
    2. However when a song is purchased by the adult account ..it is not visible to the kids account ..:-{
    3. The same thing occurs when a song is imported from a CD
    4. When a new playlist is created by the Adult account it is not visible to the kids account ..:-(
    How can I make changes made by the Adult be made visible to the kids without having the need to constant add music files or libraries for each kid..?
    Thanks in advance..

Maybe you are looking for

  • Executing queries in another schema in an APEX application

    Hello all, I'm using Application Express 2.1.0.00.39 with Oracle Database Express. Following this post (Re: Including a SQL GUI in APEX applications I made a page that executes users' queries. The user inputs his SQL statement in a textarea and submi

  • Migration from Oracle9i to Oracle 10g

    Hi All, Is anyone aware of exact differences between Oracle 9i and 10G? Can some one point me to any URL where I can find exact list of difference between Oracle 9i and 10G? Thanks in advance. Regards Ninad K

  • How to start OracleServiceORCL in oracle7.3.4 for windows NT ??

    Hello everybody, Can anybody tell me, How to start OracleServiceORCL in oracle7.3.4 for windows NT ?? when I am trying to start it it shows an error : Could not start the OracleServiceORCL service on \\NT4 Error 0126: the specified module could not b

  • Material request download error

    Hello Experts, I am facing typical material download issue, please help me out to overcome this: - material number in ERP has lot of speical characters say e.g. - : = - DNL_CUST_PROD0 / PROD1 / PROD 3 / TAX all has bee done - Materials are already do

  • Field for note in FB60

    Could anyone help me figure out the table and field where the note in FB60 is saved? Thanks.