How to set a reason for locked account throught source code with the API

Hi all,
I need to set the lock reason of an user account. When we lock a user account at identity management, the system shows us a text edit and keep that lock reason on the account data tab. I need to simulate that, anybody could help me with this?
Slds,
MC

Hi Mariana,
you can use the below code snippet to lock and maintain the lock reason.
              IUserAccountFactory uaFactory= UMFactory.getUserAccountFactory();
              IUserAccount userAccount=uaFactory.getUserAccountByLogonId("user_hr");
              IUserAccount mutableUserAccount=uaFactory.getMutableUserAccount(userAccount.getUniqueID());
              mutableUserAccount.setLocked(true,IUserAccount.LOCKED_BY_ADMIN);
              mutableUserAccount.commit();
Thanks
Prashant

Similar Messages

  • HT1338 i have apps to be updated but when i try to update them a message pops out saying "You have updates for other accounts, please sigh in with the other id". Can some one help me how can i still update the same with the new apple id ive created.

    i have apps to be updated but when i try to update them a message pops out saying "You have updates for other accounts, please sigh in with the other id". Can some one help me how can i still update the same with the new apple id ive created. As i dont have the access to the earlier id anymore.

    You cannot. The apps are assigned to that Apple ID and there is nothing you can do to change that. You could choose to download them again with the new Apple ID, any paid apps will need to be purchased again.
    Hope that helps.

  • How to set different icons for different windows which is seen in the top left corner?

    Hi
    How to set different icons for different windows which is seen in the top left corner? I know when building exe there is a option to edit icons or add icons and that icon is default for all the windows in the project. But i want different icons for different windows which is possible in VB.
    Is there any way to set icon by calling any dlls.
    Thanks & Regards
    Samuel J
    [email protected]

    Hi Sam,
    no problem. See the attachment.
    Mike
    Attachments:
    TestIcon_LV85.zip ‏44 KB

  • How to set multiple senders for one account

    Hi all,
    I have a BIS account with my provider and a paid gmail account which collect for me mails from different address. Is it possible to set multiple senders for this account, thus it seems that I'm replying from one of these address and not only from my google address? In fact, it's important for me also that all mails come out from the same SMTP server (google).
    Thanks in advance.
    Best regards,
    Pierluigi

    For the BlackBerry to "send using" a specific email account, it must be set up on your BIS account as an email account, otherwise, you can send from that account.
    You can do that, and then block ALL incoming emails from those accounts, and allow only incoming mail from your one Gmail account, if you desire.
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • How to set up NAT for two servers using same port with ASDM ASA 5505

    Hi there,
    We have a new installation of a ASA 5505 and are trying to get some NAT issues straightened out. Here is the scenario: On our internal network, we have two servers running Filemaker Server, a relational database server that clients connect with using port 5003. Our goal is to be able to allow users from the outside to access either of these servers as needed. I know how to set up a simple static NAT rule and matching Access rule in ASDM which would be fine for a case in which only one server using a given port is running on a network, but for simple static rules I seem to be blocked from entering a different translated port number from the orginal port number, which becomes a problem when two servers we need to access from the outside are running software using the same port number.
    What is the simplest way to address this need? I am guessing that I need to set up a scenario like this, where port 5004 (or any arbitrarily choosen unused port, can be used to access the second server:
    Outside user enters   FQDN:5004  and this translates to Database server # 1 as   192.168.1.40:5003
    and
    Outside user enters   FQDN:5003  and this translates to Database server # 1 as   192.168.1.38:5003
    If so, what is the easist way to get this done? Or is there a better what to handle this scenario?
    Thanks in advance,
    James

    I would create two objects and use object NAT
    object network Obj_5004
    host 192.168.1.40
    object network Obj_5004
    nat (inside,outside) static service tcp 5003 5004
    object network Obj_5003
    host 192.168.1.38
    object network Obj_5003
    nat (inside,outside) static service tcp 5003 5003
    Of course you will need to open your outside interface for tcp ports 5003 and 5004 to make this happen

  • How to see the source code in the API?

    Is it possible to see the source code for the String class in the Java API 1.4.2 somehow?

    one of the IDE's I have is GEL (gexperts.com), all you do is
    Search/Go To Class/
    select the class String, and the source code is displayed.
    pre-requisite is you have to specify the location of the api docs on your pc when
    installing GEL

  • How to set up hierarchy for GL Accounts - for reporting purpose

    Hi All,
    we are using OBIEE 10g with Oracle R12 as our OLTP.
    my question is that I have configured - Section 3.2.1.6.1, "How to Configure GL Account Hierarchies Using GL Accounting Flexfield Value Sets Definitions."
    and I'm getting the correct hierarchy now.
    few codes from my config files given below. we have used Actual Parent Account numbers in order to sort the TrialBal report in a particular format, Group Account Num in character format were not serving our purpose.
    Now as you can see with this configuration obviously the standard reports (Balancesheet) are coming blank.
    I would need to configure these group account codes for every BMM layer folder to include our group account numbers.
    Also I need to have a specific format for balancesheet ..now seeing the below format please advice me where and how do i configure this drill down hierarchy?
    because "Non Current Assets>>Fixed Assets" "Investments" are just group labels and not defined in the system anywhere. so how do I achieve this format in the report with drill down
    Balance Sheet Format like below-
    Sl No     Particulars
    A     Non Current Assets
    A.1     Fixed Assets
    A.1.1     Fixed Assets
    A.1.1.1     Asset Cost (total Balances frm natural GL Account 101010 to 101130)
    A.1.1.2     Accumulated Depreciation (total Balances frm natural GL Account frm 105010 to 105160)
    A.1.1.3     Asset Clearing (total Balances frm natural GL Account frm 104510 to 104630)
    A.1.2     CWIP (total Balances frm natural GL Account frm 102010 to 102120)
    A.1.3     Intangibles (similarly like above some account range)
    A.1.3.1     Intangibles Cost (similarly like above some account range)
    A.1.3.2     Accumulated Amortization (similarly like above some account range)
    A.2     Investments
    A.2.1     Investment in Shares
    A.2.2     Investment in New Ventures
    A.2.3     Investment in Properties
    A.2.4     Properties under Construction
    A.2.5     Advances for Investment Properties
    B     Current Assets
    B.1     Inventories
    B.1.1     Finished Goods
    B.1.2     Packing Materials
    etc.
    file_group_acct_codes_ora.csv
    CHART
    OF
    ACCOUNTS
    ID FROM ACCT TO ACCT     GROUP_ACCT_NUM
    50328     101010     101999     101000
    50328     102010     102999     102000
    50328     103010     103999     103000
    50328     104010     104210     104000
    50328     104501     104999     104500
    50328     105010     105160     105000
    =========================================
    file_group_acct_names.csv
    GROUP_
    ACCOUNT
    NUM     GROUP_ACCOUNT_NAME     LANGUAGE
    101000     Fixed Assets-Cost     E
    102000     Capital Work In Progress-Cost     E
    103000     Asset Cost-Intangibles     E
    104000     Fixed Assets-Cost Clearing     E
    104500     CWIP Cost Clearing     E
    ==========================================
    file_grpact_fstmt.csv
    GROUP FIN_STMT
    ACCT       ITEM GL_ACCT_
    NUM     CODE     CATCODE
    101000     AP     BS
    102000     AP     BS
    103000     AP     BS
    104000     AP     BS
    104500     AP     BS
    ===============================================
    file_glacct_segment_config_ora.csv
    CHART OF ACCOUNTS_ID     SEG1     SEG1_VALUESETID     SEG2     SEG2_VALUESETID     SEG3     SEG3_VALUESETID     SEG4     SEG4_VALUESETID     SEG5     SEG5_VALUESETID     SEG6     SEG6_VALUESETID     SEG7     SEG7_VALUESETID
    50328     SEGMENT1     1013524     SEGMENT2     1013525     SEGMENT3     1013526     SEGMENT4     1013527     SEGMENT5     1013524     SEGMENT6     1013528     SEGMENT7     1013529
    AGGREGATION     Y          Y          Y          Y          Y          Y          Y
    ==================================================

    Dear Balaji,
    You can directly create hierarchies in the transaction COMM_HIERARCHY.
    You can assign Category Hierarchies to Applications in the IMG (transaction SPRO): Cross-Application Components => SAP Product => Product Category => Assign Category Hierarchies to Applications.
    (Alternatively, you can transport selected hierarchies and their categories to a specified target system in the same IMG path Cross-Application Components => SAP Product => Product Category => Transport Categories.)
    Hope I was able to help you!
    imre

  • When trying to buy apps on my new iPad I am told 'your account is disabled' but I can log on to apple's website. How do I fix this/ delete my account but remake it with the same email address as it's the only one I use?

    Help!!!

    Hi dshohat,
    Welcome to the HP Support Forums.  I see that you are unable to access the apps found on the front panel of your Officejet Pro 8600 Plus printer.
    I have included the Troubleshooting Print App Issues document.  One of the FAQs is “Print Apps launch slowly, lock up, crash, or a connection error message displays on the printer”.  It has a series of trouble shooting steps to take to resolve this. 
    Regards,
    Happytohelp01
    Please click on the Thumbs Up on the right to say “Thanks” for helping!
    Please click “Accept as Solution ” on the post that solves your issue to help others find the solution.
    I work on behalf of HP

  • How to set up icloud for family and one itunes account

    I just got a new disk drive in my MACbook (now upgraded to Mountain Lion) so starting from scratch with itunes.   With 4 IOS devices in the family and only one itunes account, I would like to figure out how to backup every device to itunes.    I was able to save old itunes data on a jump drive, but did not have a Time Machine backup so I am literally starting from scratch and want to do it right. 
    I need to get data from IOS devices to itunes(via ICLOUD?)  before I hook up device to "new" disk drive on MAC.
    I am scared I will loose the data on the devices when I hook them up to the new Mac.  Any help would be appreciated...  
    Can we each have separate Icloud IDs and still have one Apple ID we use for Itunes account?

    "Can we each have separate Icloud IDs and still have one Apple ID we use for Itunes account?"
    Yes, that's the suggested way of doing it.
    As for starting from scratch - you need to decide which Apple ID to use for the mac.  If each member of the family uses the mac, then set up a seperate account for each and use the Apple ID (the one used for iCloud) to sign into icloud.  Use the common ID for itunes purchases.  I'd suggest first syncing devices to icloud to get whatever data is important (contacts, events, ...) saved.  When on the mac you connect to an iCloud account, the data (just synced from a device) will come down to the mac (for that account).
    Tell us what "data" you want to get to the new Mac?

  • How to set expiry date for a mail account?

    Hi there, i'm new in Messaging Server, need help here on how to set an expiry date to a specific mail user since the mail user will be just a temporary mail user. Instead of deleting manually, is there any smarter way of doing it?

    Directory Server can be set to exipre a password, indeed. That will prevent the user from logging in, when it happens. There will be no warning, or anything like that.
    The account will still be on the server, and the mailbox will still contain mail. It will still receive mail.
    If you want to turn an account off, you will have to make some arrangement outside Messaging Server for automating it.
    You can use any kind of program you like to set the ldap attribute "mailuserstatus" to "inactive", or even "deleted" as you wish.
    You can use java, "c", or any other programming tools you like. Messaging Server and Directory Server aren't written in Java, anyway.

  • How to set up just an email account? - it's not working

    Hi there,
    Could someone please let me know how to set up just an email account for a staff member?
    I tried "E-mail Accounts" - Add an email account - but the password verification NEVER comes through. I've tried send password recoved but does not work (ive deleted it and tried 3 different Password recovery e-mails - gmail / local and another BC one too).. nothing is working.
    So then I read the knowledge base which is out of date:
    http://kb.worldsecuresystems.com/000/bc_8.html?bc-partner says to set up an email account you need to go to Site Users (which doesn't exist) to tick "enable email" - so I tried Admin users but it has no email only option..

    Hi Dandy,
    You can still switch to V2 view to find things. Something I am still doing when I do these irregular jobs, as they only happen when a site goes live and that will only be once a month for us. Twice some months.
    Although I just tried going to V2 and getting up the V3 view, but it didn't send me to the page I wanted.
    I notice that there is a new tab in V3 called Email accounts, where you can set up email accounts now. Try there.
    You will need to have the user set up first under Admin Users and User Roles first I expect.
    Also check workflows are set up properly once you have gone into Email Accounts and set up the email address.
    Or maybe just go back to V2 and do it all there. Click in top rh corner to get back to it.

  • What is best way to set up Ipods for my children?  One lives with ex and I plan to use facetime and texting to communicate.  Should he have his own itunes account?

    I started out by setting up under my itunes account.  When I tried the facetiming my iphone with my sons new ipod it said that I was calling even though I set it up in his name.  Also, I don't know how to try to face time him.  How do I add him as a contact to facetime him.  Also, his step sister will be setting hers up also and she will want to be able to text and face time him.  How should we go about setting all this up?  Thanks for any help and I hope I explained this well enough.

    First, you should have to Apple IDs
    Second, you must have a Wi-Fi connection.
    Facetime Calls
    To add them go to address book and put in the Apple ID username under email.
    Go to facetime, click the contacts button on the bottom. Click the name they gave them. Click the email you used for their Apple ID. It should start a call with the device hooked up with that Apple ID.
    Set-Up Facetime
    Go to settings. Click facetime. Sign-in with the Apple ID you are using. When someone calls that address it should give you a notification.
    Texting
    If you are getting a new iPod you will be getting with iOS 5 wich includes iMessage to other iOS 5 devices. Just click iMessage at the home screen and type in the name of the person with the Apple ID you want to text OR type in the Apple ID you want to text. You should start a convorsation with the iDevice hooked up to that Apple ID.
    Set-Up iMessage (a.k.a. Texting)
    Go to settings. Click iMessage. Sign-in with the Apple ID you are using. When someone texts that address it will notify you.
    Hope I helped!

  • Setting up folders for mail accounts.

    Hello all. I am 3 day old mac owner (got a MacBook) and I need some help with Mail.app.
    I have two pop accounts set up and all is well but I can't for the life of me figure out how to set up folders in each account for certain types of mail to be placed in. For instance I would like my wife's emails to automagically be placed in it's own folder for said account so I don't have to see or worry about them. Is this possible? I'd like to have folders for bills, family, friends, etc and any help with this would be greatly appreciated.

    you would do this through creating folders, and then creating rules. however you have to have distinct attributes for the rules to pic up on.
    if i understand correctly you have your pop account and your wifes. if you notice on inbox, there is an arrow next to it, you can drop it down and see each individual account so you dont view them all together.
    i would also suggest that maybe you create an entirely different user for your wife, then neither of you would ever have to deal with sorting between each others emails.
    to add a folder, there is a plus sign at the lower left hand corner of mail, click it and the location you want to create should be "on my mac," then to set up a rule you go to preferences and then rules, the rules should make sense, but if not just ask.
    i realise this may not exactly solve all the issues, but will probably get you at least closer, and then just ask anything else.

  • How to create Charge indicator for Bank account

    Dear SAP Gurus,
    Please advice how to create charge indicator for bank account under - Set Up Bank Determination for Payment Transactions - activity in automatic outgoing payment configuration.
    There is no customizing option in F1 help option. I also try to search in IMG there is also no link for the same.
    Early reply would be appreciated.
    Regards,
    Prafful Kansal
    9910432881

    Dear,
    Charge Indicator is freely definable field, you can put any value you want.....
    Regards
    Chintan Joshi

  • HT5312 How to set up my rescue email account,so that can reset my security question?

    How to set up my rescue email account,so that can reset my security question? The key is I need change my security question

    You won't be able to add a rescue email address until you can answer 2 of your questions, you will need to contact iTunes Support / Apple to get the questions reset.
    Contacting Apple about account security : http://support.apple.com/kb/HT5699
    When they've been reset you can then use the steps half-way down the page that you posted from to add a rescue email address for potential future use

Maybe you are looking for

  • APP-V package refuses to run...

    I created an APP-V package for an application called SigmaPlot 12.5. During sequencing the app ran fine.  It is configured to run on any OS When I install on client machine, it will not run..no error message..app-v client starts and then quits almost

  • Adobe Viewer for Android Phone

    Hi guys, The Adobe Content Viewer from Google Play (May 1, 2013) is both compatible and works fine on my Nexus 4 phone. We understand that adding the Android phone compatibility might cause poor app rating as the buttons/controls will be hard to tap

  • Creator2 portlet on JBoss Portal Server 2.2

    Has anyone managed to get a JSF Portlet created with Creator2 to run on JBoss Portal server 2.2? I've found documents on getting Creator2 to work with JBoss AS, but not JBoss Portal. JBoss Portal Server uses MyFaces and I would like to keep for examp

  • Invoices by Month HELP....

    I am at a total loss... I am trying to create a custom query that I think is way over my head! Can any of you help me figure out how to do this? The execs want a report to show the following columns: Customer # Customer Name Invoice Number Document T

  • Problems displaying CR Viewer when using VS2010

    When I try to display a form containing reference to a CR Viewer I get the following error message: *An error occurred creating the form. See Exception.InnerException for details.  The error is: The type initializer for 'CrystalDecisions.Shared.Share