Portal Secret Question API

Hi,
I need to develop a report using PDK / Web Dynpro to generate Report of users who have not set the Secret Question in Portal. . Could someone share sample code for getting Portal Secret Question  through UME API? . We are having NW 7.0 SP17 landscape.
Thanks
Vasu

Hi Vasu,
Try printing all namespace and attibutes using following code. You might find the required namespace-attribute mapping.
IWDClientUser wdClientUser1 = WDClientUser.getCurrentUser();
IUser user = wdClientUser1.getSAPUser();
try
     String[] namespaces = user.getAttributeNamespaces();
     for(int i=0; i<namespaces.length; i++)
          response.write("<br>Processing namespace "+namespaces<i>);
          response.write("<br>==================================");
          String[] attributes = user.getAttributeNames(namespaces<i>);
          for(int j=0; j<attributes.length; j++)
               response.write("<BR>ATTRIBUTE NAME="+attributes[j]);               
catch(Exception e)
     response.write(e.getMessage());
Also, check out UME API : http://help.sap.com/javadocs/NW04S/current/se/overview-summary.html
Hope this helps.
Regards,
Vaibhav

Similar Messages

  • Portal Secret Question

    Hi,
    I need to develop a report using PDK / Web Dynpro to generate Report of users who have not set the Secret Question in Portal. . Could someone share sample code for getting Portal Secret Question through UME API? . We are having NW 7.0 SP17 landscape. The purpose of the report is to send mail to users asking them to set the secret question who have not maintained the secret questions . When they forget the password , request is created for auth team to reset the user's password.
    In general , Is there any way to enforce the user to set the portal secret question during initial logon or at least whether report can be developed using UME API.
    Thanks
    Vasu

    Hi Vasu,
    Try printing all namespace and attibutes using following code. You might find the required namespace-attribute mapping.
    IWDClientUser wdClientUser1 = WDClientUser.getCurrentUser();
    IUser user = wdClientUser1.getSAPUser();
    try
         String[] namespaces = user.getAttributeNamespaces();
         for(int i=0; i<namespaces.length; i++)
              response.write("<br>Processing namespace "+namespaces<i>);
              response.write("<br>==================================");
              String[] attributes = user.getAttributeNames(namespaces<i>);
              for(int j=0; j<attributes.length; j++)
                   response.write("<BR>ATTRIBUTE NAME="+attributes[j]);               
    catch(Exception e)
         response.write(e.getMessage());
    Also, check out UME API : http://help.sap.com/javadocs/NW04S/current/se/overview-summary.html
    Hope this helps.
    Regards,
    Vaibhav

  • Hello, i have a problem when i want to download an app it asks for my secret question and answer but i forgot it how can i solve this problem please help?

    Hello today I wanted to download an app on my ipod touch infact its a game and as usual it asked for my appl id and password so I entered them but next it asked me to enter my passowrd againg and answer the secret question I submited when I first got my Ipod touch, the problem is i cant remember the question neither the answer,so is there a way I can find out what my secret question is and the answer of course I would appreciate youre help.
    Fouad

    Only you and Apple know your secret question.  See if changing the password via email will allow access to your account.. Then you can chnag yur secret question. See:
    http://support.apple.com/kb/HE36

  • Apple ID secret questions reset

    Hey guys,
    I'm trying to reset my Apple ID secret questions, everytime I click on reset by email, it prompts me an email has been sent to ur email "*****@hotmail.con" but I never receive anything definitely cause the extension is giving ".con" and not ".com"
    Does anyone has a solution for the issue or faced it before, or how do I contact apple to point that there has been a programming error on the website preventing me from being able to reset my secret questions that I don't remember !!!
    Help !
    Thank you

    You need to contact Apple. Click here, phone them, and ask for the Account Security team, or fill out and submit this form.
    (91075)

  • HT201363 Sir/Madam,  can I ask for help to know what's my secret questions and answer in my apple ID? Coz i'm not the one who make my apple ID when i first buy my phone. I can't ask my friend On what he put in my secret questions coz i'm already here in p

    Sir/Madam,
    can I ask for help to know what's my secret questions and answer in my apple ID?
    Coz i'm not the one who make my apple ID when i first buy my phone. I can't ask my friend
    On what he put in my secret questions coz i'm already here in philippines right now and my friend who made my apple ID is still in bahrain.. I wish i could get a feedback through this matter. Thanks and i'm kyztle Romanes . Thanks you so much i wish i'd get any feedback to your side.. I wanna purchase a builder in my clash of clans account coz my clanmate philip sent me a gift card for 25$ that's why i need your help.. Thanks again Apple company..
    Sent from my iPhone
    On Jan 1, 2014, at 4:53 PM, iTunes Store <[email protected]> wrote:
    $25
    Buy that builder
    Philip sent you an iTunes Gift
    You can redeem this gift on your iPad, iPhone, iPod touch, or on your computer using iTunes. Once you redeem your gift and verify your Apple ID, you will be credited with $25 and can purchase the latest music, apps, and more.
    Valid only on iTunes Store for U.S. Requires iTunes account and prior acceptance of license and usage terms. To open an account you must be 13+ and in the U.S. Compatible software, hardware, and Internet access required. Not redeemable for cash, no refunds or exchanges (except as required by law). Code may not be used to purchase any other merchandise, allowances or iTunes gifting. Data collection and use subject to Apple Customer Privacy Policy, see www.apple.com/privacy, unless stated otherwise. Risk of loss and title for code passes to purchaser on transfer. Codes are issued and managed by Apple Value Services, LLC (“Issuer”). Neither Apple nor Issuer is responsible for any loss or damage resulting from lost or stolen codes or use without permission. Apple and its licensees, affiliates, and licensors make no warranties, express or implied, with respect to code or the iTunes Store and disclaim any warranty to the fullest extent available. These limitations may not apply to you. Void where prohibited. Not for resale. Subject to full terms and conditions, see www.apple.com/legal/itunes/us/gifts.html. Content and pricing subject to availability at the time of actual download. Content purchased from the iTunes Store is for personal lawful use only. Don’t steal music. © 2012 Apple Inc. All rights reserved.
    Apple respects your privacy.
    Information regarding your personal information can be viewed at https://www.apple.com/legal/privacy/.
    Copyright ©2014 Apple Inc. All rights reserved.
    <Email Edited by Host>

    It is a phishing attempt to get your Apple ID and Password.
    You should forward it to Apple : [email protected]

  • TS2446 So I have an iphone and for some reason I don't know the password for my Apple ID so I can't download apps and I don't have the password to my email to change it and I don't know the secret questions , what can I do to make a new Apple ID ?

    So I have an iphone and for some reason I don't know the password for my Apple ID so I can't download apps and I don't have the password to my email to change it and I don't know the secret questions , what can I do to make a new Apple ID ?

    I have the same problem - it is maddening. I rely on this iPad for work so this is not just an annoyance! The above solutions of changing the appleid on the device or on the website do not work.
    The old email address no longer exists - I haven't used it in a year probably and I no longer have the account.  I logged into the appleid website and there is no trace of the old email address so there is nothing that can be deleted or changed there.  On the iPad there is no trace of the old email address so nothing can be deleted there either. I have updated the iPad software and the same problem comes right back.  Every 2 seconds I am asked to log in using the old non-existent email.  The device is currently useless.
    The only recent change to anything was the addition of an Apple TV device, which was set up using the correct login and password.
    Does anyone have any ideas? The iPad has been backed up to the iCloud so presumably it now won't recognize the current iCloud account? So restoring may notbe an option?

  • HT5787 If i know email ( but i dont have acces to it ) and i dont have secret questions how can i recover my icloud account ?

    If i know email ( but i dont have acces to it ) and i dont have secret questions how can i recover my icloud account ?
    I'n my company ( pawn shop ) i hope i transleted fine , i bought an iphone wich it seems to be ok at the first time.
    That was on 26.11.2013 ( as can be seen in my pawn contract and billing ) . after 2 weeks i found a client to buy my second hand iphone and the i saw my mistake it is icloud blocked i need that password so i can reset the iphone to sell it. how can i manage this problem ? i can provide all my billings, contracts, society data everything.

    If you know the primary email linked to the account but do not have access to it or the answers to the security questions, then the next best thing to do is call Apple at 800-275-2273 and ask for Account Security.  They will ask you for two pieces of information from the account in order to unlock it.  The options are usually the security questions (each question counts as one piece), the credit card linked to the account, and either a device serial number or device verification code that they will send you.
    After this verification is complete they can send the reset link for your password to any email you choose.  Please be aware that if they verify you with something other than two security questions, there is a 24 hour wait before the email arrives.
    Good luck!

  • Have dead phone, cannot sign-in b/c of Secret Question. Plan head is daughter (out of country). No access for plan members and no access if phone dead. Need to learn deals, buy a phone, etc. ADVICE?

    HOW CAN I REPLACE MY DEAD PHONE;  BUY A NEW ONE, ADDING TO FAMILY PLAN WHEN I CAN"T EVEN SIGN-IN? 
    I hope this community can tell me tell how I can  get through the Verizon sign-in process soI can buy a phone to replace my currently dead one. 
    I am a member of a Family Plan run by my daughter (out of the country for a week)and even with her ID and password, Verizon does not accept my sign-in attempt when I could not answer her Secret Question.   With a dead phone, I cannot get from Verizon including a PIN.  I can use my husband's phone (also in the Familhy Plan) but Verizon does not allow access to anyone but the registered plan administrator.  My phone number-- with decades of phone bills from Verizon --- is "not recognized. "  Huh?
    I am so frustrated.  HELP!!  How can I access Verizon:
    --to buy a phone and add to Family plan;
    --delete dead phone from plan;
    --learn the gory financial details of a contract, and
    --arrange for that new phone to be shipped to me.
    I had tried the live chat, but I had to leave the page to locate my daughter's phone number.  Since I never actually type it out, and since it was locked inside my dead phone, I had to reach out to my family so they could look ion their contact phone lists.  And now I cannot regain access Chasmine, my chat person.
    I would be grateful for any advice.   I am without a working phone and beginning to believe I shall remain that way.  I would walk away from Verizon except it would work against my family and their contracts.  However,  I have learned just how powerful an essential company can be when it takes advantage of people dependent on its "services."
    Meanwhile, the reality is I need to know how to deal with Verizon and get a phone.  All thoughts are welcome and appreciated. I cannot even find a phone number to try to talk to a Verizon person.   Thank you

    Youll still have to be the account owner to make those changes.
    Is the account owner unavailable to make that change from their location?
    Customer Service
    (800) 922-0204
    or dial *611 from your mobile phone
    View the *611 On-Screen App for Android Video
    6 AM - 11 PM, Mon - Sun
    Emergency Service Hours
    11 PM - 6 AM, Mon - Sun

  • Why does My Verizon require me to answer my secret question all the time?

    I rarely login to My Verizon.  Let's face it, the account information for Verizon's site aren't exactly as fresh in memory as my mail account or social network authentication details.
    So every few months when I do need to check on something about my account, I will go to login and I am presented with my secret question, because Verizon has never seen this computer before.
    Let me tell you something about secret questions.  They are the most insecure things ever.  "Where is your favorite spot to vacation?"  Well someone who wants in could maybe look at my social networking pictures.  "What was your first pets name?" I don't think it would be very hard for someone to find that out.  These are totally pointless.  The only time I have ever legitimately used one (years ago when these first came out) I set a secret question that was more obscure than these examples and someone guessed it.  So when asked for a secret question what do I do now?  I type a random series of letters beacuse I don't want to weaken my accounts security.
    So every few months when I go to login to Verizon, it thinks my computer is different and at that point decides to prompt me for this worthless "security" question that I am not stupid enough to have legitimately answered.... except now I can't login to my account, so I've got to have Verizon text my phone a code and reset my password and security question just to check some little detail of my bill.
    Get rid of the stupid requirement for a security question for well ANYTHING please, but particularly for not recognizing my PC.  I have NEVER seen another website require this.  My bank doesn't require me to answer security questions to login.  I work in IT at a bank and we don't require this to login unless other authentication methods fail.
    At least Verizon's password rules aren't entirely unique.  I mean, I don't use the same passwords for each account, but at the same time I don't have 72 totally unrelated passwords for my different accounts.  So at least I know my password when I go to login, but it doesn't much matter when my security question now is pretty much set to an illegitimate answer that I am using a second "password".....the only site on the whole Internet I need two passwords for.  Fix this garbage.

        thrift Your security is important to us. We want to make sure that we take the necessary measures to prevent your my verizon account being comprimised. The secret question is used if your computer is not recognized. The next time you log in, look for the option 'remember this device/computer'. This way you will not be asked for the secret question as long as the computer is the same and  password is correct. We hope ths helps.
    Sheritah_vzw
    Follow us on Twitter
    @VZWSupport

  • Hello I want to change your secret question and date of birth

    Hello
    I want to change your secret question and date of birth

    The Three Best Alternatives for Security Questions and Rescue Mail
        1. Use Apple's Express Lane.
              Go to https://expresslane.apple.com ; click 'See all products and services' at the
              bottom of the page. In the next page click 'More Products and Services, then
              'Apple ID'. In the next page select 'Other Apple ID Topics' then 'Forgotten Apple
              ID security questions' and click 'Continue'. Please be patient waiting for the return
              phone call. It will come in time depending on how heavily the servers are being hit.
         2.  Call Apple Support in your country: Customer Service: Contact Apple support.
         3.  Rescue email address and how to reset Apple ID security questions.
    A substitute for using the security questions is to use 2-step verification:
    Two-step verification FAQ Get answers to frequently asked questions about two-step verification for Apple ID.

  • Hi I want to change your e-secret questions because I forgot the answers I have tried sending reset questions on my mail and I have not received mail

    hi I want to change your e-secret questions because I forgot the answers I have tried sending reset questions on my mail and I have not received mail
    New mail that I want is [email protected]
    Alternative to the Old one

    From  King Penguin
    If you have a rescue email address set up on your account then you can try going to https://appleid.apple.com/ and click 'Manage your Apple ID' on the right-hand side of that page and log into your account. Then click on 'Password and Security' on the left-hand side of that page and on the right-hand side you might see an option to send security question reset info to your rescue email address.
    If you don't have a rescue email address set up then go to Express Lane  and select 'iTunes' from the list of 'products' in the middle of the screen.
    Then select 'iTunes Store', and on the next screen select 'Account Management'
    Next choose 'iTunes Store Account Questions' or 'iTunes Store account security' (it appears to vary by country) and fill in that you'd like your security questions/answers reset.
    You should get an email reply within about 24 hours (and check your Spam folder as well as your Inbox)

  • How can I restore the secret question for my Apple ID?

    Hello,
    Yesterday I try to get a new app in da AppStore, when I buy the aplication said I need comprobate my Apple ID, ok, i write my Apple ID password and my iPhone sends me to the secret question verification, when I write my secrets questions have an error, I try everything but I can't answer correctly, please help.

    http://support.apple.com/kb/HT5312

  • My friend set up my itunes account and they have forgotten the secret question and i need it for something on itunes HELP!!!

    my friend set up my itunes account and they have forgotten the secret question and i need it for something on itunes HELP!!!

    Some Solutions for Resetting Forgotten Security Questions: Apple Support Communities

  • I'm trying to change my secret question because I forgot to answer. Followed all the instructions, but not yet I receive a message to let me change the answer, I tried more than once, but without an answer

    I'm trying to change my secret question because I forgot to answer.
    Followed all the instructions, but not yet I receive a message to let me change the answer, I tried more than once, but without an answer

    See this thread:
    https://discussions.apple.com/message/23280567#23280567

  • HT5312 I can not change the answer to my secret questions

    Greetings
    I can not change the answer to my secret questions
    Thank you

    You need to contact Apple to get the questions reset. Click here, phone them, and ask for the Account Security team, or fill out and submit this form.
    (94138)

Maybe you are looking for