How to lock a user by using random password?

hello,
i need to lock a user from a target system by pushing in random passwords for the accounts. i am successfully able to create an adapter that can generate a random string, but the place where i am stuck is that where to use it as i just need to lock the user and not delete it. if the corresponding manager approves the suspension then the account needs to be deleted else again the account needs to be enabled.
Please help!
Thanks!

ok... sorry...
so what i did is that i have created a resource that has to be provisioned to the user if the user is to be terminated, in which the manager will mention the user to be terminated and the reason.
now OIM has to lock the user till the reason that has been given by the manager is deemed valid by the second level manager.
so for that i have a approval and a process form and processes associsted with them. but the problem is that i need to lock the user using the "Entity Adapter" so i need to do so only in the "Data Object Manager" and thus the problem starts as i dont know where to map the adapter that generates the random password so as to lock the user.
please, if you find anything confusing here, go thru the discussion in the whole of the thread.
Thanks!

Similar Messages

  • How to restrict a user from using the transaction code SU01?

    How can I grant a profile to a user with the profile SAP_ALL except running the transaction code SU01?
    I know how to lock the transaction code using SM01 but is there any other way to do it.

    Go to S_TCODE
    Double click on it and give the combinations like        A*  -   X*
                                                                                 SU00
                                                                                 SU02 - Z*
                         Try this one definately it will work.

  • How to lock multiple user for a transcation code at same time is der any tc

    how to lock multiple user for a transcation code at same time is der any tc
    suppose i hav 15 user and i want to lock 10 user for mm02 who can i to it

    Basis can do a export and import transport, still if don't have connection between boxes.
    or
    check this
    http://www.sap-basis-abap.com/abap/copy-program-variants-from-one-to-another.htm

  • How to lock a row by using 'for update'?

    how to lock a row by using 'for update'?

    Hi,
    SELECT * FROM <TABLE> WHERE <PK_COLUMN>=<VALUE> FOR UPDATE NOWAITThis will help in locking the row with the primary key value that you provide
    cheers
    VT

  • How to make different users to use different Plan_Tables?

    How to make different users to use different Plan_Tables?
    I want each user use his own's Plan_Table. How to achieve this goal?

    qkc wrote:
    How to make different users to use different Plan_Tables?
    I want each user use his own's Plan_Table. How to achieve this goal?Which version of Oracle - if you're on 10g or later you are already (effectively) doing this.
    If not, then copy the 10g strategy back to your version; in outline:
    <ul>
    drop all existing plan tables
    create a table (but call it plan_table$) in the SYS schema (you may prefer to use SYSTEM) as a global temporary table on commit preserve rows
    create a public synonym plan_table for plan_table$
    grant select insert update delete on plan_table to public
    </ul>
    Look in $ORACLE_HOME/rdbms/admin/catplan.sql in a 10g version of Oracle to check how it's done.
    Each user gets a private (temporary) table in their temporary tablespace whenever they use the plan_table
    Their private data disappears when there session ends.
    Regards
    Jonathan Lewis
    http://jonathanlewis.wordpress.com
    http://www.jlcomp.demon.co.uk
    To post code, statspack/AWR report, execution plans or trace files, start and end the section with the tag {noformat}{noformat} (lowercase, curly brackets, no spaces) so that the text appears in fixed format.
    There is a +"Preview"+ tab at the top of the text entry panel. Use this to check what your message will look like before you post the message. If it looks a complete mess you're unlikely to get a response. (Click on the +"Plain text"+ tab if you want to edit the text to tidy it up.)
    "Science is more than a body of knowledge; it is a way of thinking"
    Carl Sagan                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How to Check authorizations (user profiles) using eCATT?

    Hi All,
    Please tell me how to Check authorizations (user profiles) using eCATT?
    Thanks in advance.
    Regards
    Kalyani

    Hello ,
    Create a script for SU02 transaction in the SAPGUI mode, in the script move to the profiles tab and GETGUI the first profile and loop to all the profiles assigned to the user until you find your required profile.
    Other way is to identify the table where the profiles are stored and then create script using GETTAB , pass the user name and retreive all the profiles assigned to tht particular user, loop through profiles untill you find your required profile.
    Thanks & Best regards,
    Ajay

  • HT4085 how to lock the tauch screen with some password or dots like android to prevent misuse. And also screen lock to prevent interruption while watching movie reading books etc.

    how to lock the tauch screen with some password or dots like android to prevent misuse. And also screen lock to prevent interruption while watching movie reading books etc.

    You can set a passcode to be requied to unlock the iPad via Settings > General > Passcode Lock. In terms of locking the actual screen whilst using an app, then that isn't currently possible, but with iOS 6 in the Autumn there will be a new 'accessibility' feature (from here) which will allow you :
    ... to limit an iOS device to one app by disabling the Home button, as well as restrict touch input on certain areas of the screen

  • TS1398 my ipod touch won't connect to my wi-fi which is locked,i've tried using the password on the router but it does not accept it,ive phoned talk talk,,,,let's not go there!!!!1

    my ipod touch will not connect to my home wi-fi internet which is locked,i've tried using the password on the router but it does not accept it.
    i phoned talk talk for advice but unfortunately i would have been as well asking an axe weilding monkey high on cocaine...
    appreciate any advice...
    thanks.
    martin.

    thanks for getting back so quickly.when i put  password into ipod it comes up with message
    "unable to join network"
    the router is using AES incription.
    my wi-fi is a secured connection WPA2,
    i believe i should have WEP or WAP connection for it to work?
    i have set up my daughters nintendo 3ds lite to internet no problem using existing connection.
    talktalk said they do not support apple ipod touch sytem?
    very confusing,particulary as i've bought 3 ipod touch ,,,,mmmmmmm!
    thanks again..

  • How to lock sap users in os level

    Dear consultants,
    how to lock the sap users in OS level.please tell me any one.

    Hi Pradeep,
    The table is usr02. The command is as below:
    update <schema>.usr02 set uflag=128;
    in case you need to mention any particular user to be locked, mention in the where clause.
    Before using this command, use the select statement to check the current status of the users.
    Regards,
    Meenu Hans

  • How to lock a user's account

    Hi there,
    In Solaris 9, how can I lock a user's account. By saying lock, I don't want to delete the account and any user's date under his home directory, I just want to inactivate it. I chceked the man page of useradd but I couldn't find it.
    Any related informationa is highly appreciated!

    Not sure if anything has changed from Solaris 8 to 9 but you should be able to use the passwd command. Use,
    $passwd -l username
    This will lock the account.
    To activate the account again use the passwd command like,
    passwd username
    Then specify the password.

  • How to find out User Id Used in Debugging Mode

    Hi Gurus
    Could you plz advice . how find to  out  SAP user Id used to   delete  SAP table entries in Debugging Mode.
    Thanks
    Ravi

    Hi Ravikanth,
      I'm not sure how to check the change log in debugging mode,
    but you can get the LOG DATA CHANGES from tcode SCU3(If log checkbox selected in Technical settings).
    You may check the coding for scu3 for more details.
    Happy coding..!!
    //Kiran Singh

  • How to lock a user

    Hi,
    I have a workflow in which I want to lock a user.
    I would appreciate if anyone could provide an example
    as to how to do this.
    Thanks,
    John I

    Thanks for the hint. I got it working with the following code:
    <Activity id='9' name='Lock Lighthouse User'>
    <Action id='0' application='com.waveset.provision.WorkflowServices'>
    <Argument name='op' value='lock'/>
    <Argument name='doLighthouse' value='true'/>
    <Argument name='doResources' value='false'/>
    <Argument name='accountId'>
    <ref>WF_CASE_OWNER</ref>
    </Argument>
    </Action>
    <Transition to='end'/>
    <WorkflowEditor x='352' y='182'/>
    </Activity>
    Even though the IDM 6.0 SP1 documentation
    talks about a lockOrUnlock workflow service,
    (as you mention),
    it appears that there is no such thing.
    There is however an undocumented
    'lock' workflow service which calls
    a lockOrUnlock private java method.
    This mirrors the correctly documented
    enable and disable workflow services,
    which also internally call a private java method
    disableOrEnable.
    More bad documentation I think.
    Thanks for you help.
    John I

  • How to find which users has used external scripting

    I want to find out the users who used the scripting for doing any mass changes activity.

    Hi Murphy;
    Please check which user has which forms open? and Re: how to determine which forms are currently open?
    Hope it helps you in your issue
    Regard
    Helios

  • How to check the user is using mobile to browse my website??

    Dear all,
    i am new in Java.Pls help!!i want to check the user is use what tools to browse my website...i mean if the user is using mobile to vist my website(eg:http://www.abc.com), it will rediect the mobile user to a webpage only for mobile user,otherwise,it will redirect to normal page for normal user(use browser such as ie,netscape)...
    how to do it? which function did i use?please give me some tips!!!
    Java baby , Frankie

    Check the User-Agent header of your request. Most phones will identify themselves through it.

  • How do I stop users from using the standard inbuilt VPN connection in Windows

    We have a UAG Portal setup to check the security of users computers etc then if it is all correct they are presented with the log in and once logged in the are connected to the corpirate network via a SSTP connection.  The all works fine but the issue
    I have is users can bypass all the checking but just going into network connections on their local computer and creating a SSTP VPN connection, like on this webpage http://blogs.technet.com/b/tugait/archive/2011/10/12/how-to-publish-a-vpn-sstp-using-your-uag-in-a-https-trunk.aspx
    Any idea how to stop users being able to do this and forcing them to use Internet Explorer?

    Found my answer on this page  http://technet.microsoft.com/en-us/library/ee809077.aspx 
    "To enforce Forefront UAG portal authentication, do not set users dial-in properties to Allow
    access."

Maybe you are looking for

  • Error Handling in workitem---user decision step

    HI Experts, I have created work item through user decision step. In that decision i have given Approve & Reject Option now when user click on Approve that i need to do some validation based on this i need to give error also at same time i dont want t

  • Service type of Standard Service Category

    Hi, I want to make use of the field service type of Stadard ser. cat in AC03 ( Service Master ). Pl provide img node to add new entries.

  • Spry Submenus won't appear on one page, but they will another

    I have used Spry menu bars on sites before, but this is the first time I have had a problem like this. I make the spry menu bar on its own page and then use it as an include in a div tag on my site. When I preview the Spry Menu Bar in its own page, i

  • Landscape Report - Need to resize for printing it portrait

    I have a financial report that I run often and it was originally designed as a landscape report. I want to reformat this report so that it will work for printing it in portrait. I don't really want to take a bunch of time to redesign this, I just wan

  • Windows Surface RT use with Verizon UBS760

    I've recently purchased a Windows Surface RT and would like to use my Verizon USB760 for remote data access when I'm traveling. Much in the same way as I use my laptop. Is there an app that allows this? If not, how do I get cellular access for my Win