Retrieving a user's email addresses in java

I'm trying to get a list of email addresses for any given user through the AtCiPersonalData object, but it is always coming back as null.
More specifically, my code looks like this:
IAtCiPersonalData personalData = (IAtCiPersonalData) this.m_peopleSoftSession.getComponent("AT_CI_PERSONAL_DATA");
IAtCiPersonalDataEmailAddressesCollection emailAddresses = personalData.getEmailAddresses();
It should be noted that I can get a user's phone numbers by using personalData.getPersonalPhone(), so I know my personalData object is fine.
I checked the tables (PS_EMAIL_ADDRESSES), and there are users with valid email addresses in the table, but when I log in as them, I'm still getting null returned.
Anyone have any ideas?
Side thought: I was under the impression that if these calls returned 0 results, then an empty list would be returned. (Instead of getting null which is what I'm getting.) Could it be that my personalData.getEmailAddresses() method is incorrect? I figured this wasn't possible since that class is automatically generated.
Thanks,
-Tim

i think it's so general, nothing to do with sap
1.lock the created user when creation
2. create a table to store the newly created user
3. create a servlet to receive the activation call
4. remove user from the table and unlock user

Similar Messages

  • Can I sync two iPads with different users and email addresses on the same computer

    Can I sync two IPads with different users and email addresses on the same computer.

    yes, just make sure you turn off auto-sync to keep everything organized before you try syncing
    on a pc
    edit > preferences > devices - 'prevent ipads, iphones, and ipods from syncing automatically' needs to be checked

  • Changed my Apple User Name (email address) and home sharing no longer works?, Changed my Apple User Name (email address) and home sharing no longer works?

    I've had the 2nd generation Apple TV since this past October when it was released and it has worked fine until I recently changed my Apple User Name (email address). After changing my user name my Apple TV and iPhone 4 no longer find my shared network. Home sharing is enabled on all devices, including my Sony Vaio Laptop, iPhone4, and Apple TV 2nd generation. Everything else has remained constant, including service provider, router, modem, and internet security (Trend Micro). Also, my library is on a networked hard drive, which didnt seem to make a difference before, but I figured I'd mention it. Any thoughts?
    Thanks.

    Winston,
    Thank you for the information.  He confirmed that the ID and password are the same on every device.  This only started happending when he changed his User Name with Apple. 
    --Itunes is running on a Windows Vista Machine (Sony Vaio)
    --He has an Apple TV (2nd Gen)
    --He has an iPhone 4
    Can you tell me more about the technologies that apple uses to make "homesharing" work?  Do you think he may need to remove then re-install Bonjour?

  • How do I edit my iCloud User Name/Email Address to match my new Apple ID/Email Address?

    How do I edit my iCloud User Name/Email Address to match my new Apple ID/Email Address?

    If you are unable to remember your password, security questions, don’t have access to your rescue address or are unable to reset your password for whatever reason, your only option is to contactAppleCare, upon speaking to an operator you should explain that your problem is related to your Apple ID, this way you will not be charged for assistance, even if you don’t have an AppleCare plan.
    The operator will take you through some steps you may have already tried, however they need to be sure they have exhausted all usual approaches before trying to reset your account, so you should try to be helpful and show patience with the procedure.
    The operator will need to verify they are speaking to the account holder and may ask you some questions that only the account holder could know, and you will need to answer them if the process is to proceed.
    Once the operator has verified your identity they will send a message through to your device which contains an alpha numeric code, which you will need to read back to them.
    Once this has been completed they will send an email to your iCloud email address after a period of 24 hours, so you should check that mail is enabled in your devices iCloud settings.
    Upon receipt of the email, use the reset link provided to reset your password, after which you should be able to make the adjustments to iCloud that you wish to do.

  • My iphone doesn't recognize the user ID that the itunes account on my computer recognizes.  It was changed on the computer because the original user ID email address is no longer valid

    My ipone doesn't recognize the user ID that the itunes account on my computer recognizes.  It was changed on the computer because the original user ID email address is no longer valid.  Can someone please help me with this?  Thanks!

    Hi there,
    Thanks for the reply.  I did think that could be the case but then other books would also show up as apps on phone but not counted as an app.  Maybe book apps downloaded from the app store work in this way whereas books bought from the ibooks app show in ibooks and not as apps.
    I guess that would make sense, it must be because they are books but downloaded from the app store rather than the book store so they are visible as an app but don't actually get counted as an app.
    Would you think that's the case too?
    Thanks
    Adam

  • ICloud has an old email address as user ID, I can reset the PW but not the UID. My Apple ID is under the new email address and is fine. How do I change my iCloud User ID (email address)

    My i Could ID has an old email address as the user name, my Apple ID has been updated to my new email address as the user ID.
    i CLoud shows how to change the PW but not the UID. MY MAC Mini shows everyday that there is a problem, but yet the cloud seems to play my music fine.
    Please Help

    lllaass wrote:
    What is a UID?
    Sound somewhat like a girly thing...

  • TS3988 my user name (email address) is no longer a valid email address.  How do I get around the verification stage or change my username to be my current email address?

    How can I change my user-name for ITunes?  My user name was my old work email address and is no longer valid. When I try to create an iCloud account, I am having trouble due to the fact that the username is not a good email address.

    How are you trying to do it ? You can change the rescue email address on your account by, from http://support.apple.com/kb/HT5312 :
    Navigate to appleid.apple.com using your web browser.
    Click "Manage your account"
    When prompted, sign in using your Apple ID and password.
    Click Password & Security
    You'll be asked to answer 2 of your 3 security questions before you can make any modifications. If you are unable to remember your answers, you can choose to send an email to your rescue email to reset your security questions.
    After you've validated your identity by correctly answering your security questions, click Edit to the right of your rescue email address.
    Once you've finished editing your rescue email address, click the Save button directly below the email field.
    You can then try using your current rescue email address as your primary email address - you may need to log out of that page and back in. Or you can then try changing the primary email address via the Store > View Account menu option on your computer's iTunes
    If you have an iPhone, iPad and/or iPod Touch you may then need to log out of your account on them by tapping on it in Settings > iTunes & App Store and log back in for the account to be 'refreshed' on it.

  • User Profile email address not updated on Site Collection User Information

    Hi All,
    Ok here we go....SharePoint 2007 with SSP profile sync not enabled, however I have a few profiles I need to update (email address).  This has been completed by editing the user profile in SSP, but when viewing the information via Site Collection >
    People & Groups > User Information "Work E-mail" is still showing the old one.
    All alerts are still being sent to the old email address, SSP DB UserProfile_Full shows the new email address as per SSP.
    Anyone know where else user profile emails are stored which is used by Exchange?
    Many Thanks, Roger

    As per the following post from GuYuming
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/319d5b0e-336a-4815-9ee5-5d1685db867f/how-to-send-sharepoint-alerts-to-users-on-different-domain?forum=sharepointadminlegacy
    After the email address in SharePoint user profile is updated to [email protected], you have to wait until
    they are synchronized into the user information list in SharePoint site collections so that alert can be sent to that address. For detail, please read http://vspug.com/mirjam/2009/06/17/user-profiles-and-the-user-information-list-or-userinfo-table/ and http://blogs.technet.com/paulpaa/archive/2009/10/01/user-profile-information-not-updated-on-site-collection-s-people-and-group.aspx
    --Cheers

  • Sending email to a user-entered email address

    I would like to edit the XML so that when the user clicks on an Email Submit button, the form is sent to an email address that the user has entered into a form field. I have seen code like this on the click event
    event.target.submitForm({cURL:"mailto:"[email protected] + ? subject=This form: " ,cSubmitAs:"XDP",cCharset:"utf-8"});
    but can I edit the XML so that the form is sent to the email address set in one field of the form?

    Hi Sean,
    I haven't delved into these scripts until now. The functions are very similar to code that is auto generated by Action Builder (Tools menu).
    Once the function is generated, it must be called somewhere. If you select the top node and in the script editor select "Events with script", the editor lists all scripts in the form. Control+F and search for the function name, brings up the object and event that calls the function.
    Using auto generated functions to do the form validation is really neat, as it makes this new feature backward compatible.
    I have updated the email buttons sample.
    A word of caution. If you turn off the form validation feature in the properties dialog, LC Designer will remove the function and all of ITS calls to the function. It is unlikely to remove calls that you have put in, so events may fail because they would be calling a function that now doesn't exist.
    Resources:
    There is lots of help around - I would strongly recommend Creating Dynamic Forms with LC Designer by JP Terry - excellent!!
    Also a book that doesn't deal with scripting at all but is very good is Forms that Work by Caroline Jarrett and Gerry Gaffney.
    The Adobe PDF Forms Bible is okay, but mainly focuses on AcroForms.
    Windjack Solutions have a subscription based service for solutions and scripts at http://www.pdfscripting.com. It has a lot of AcroForm script that can be amended to suit LC Designer and a growing library of LC Designer solutions.
    Here are some online resources that you might find helpful:
    http://www.adobe.com/go/learn_lc_scriptingBasics
    http://www.adobe.com/go/learn_lc_scriptingReference
    http://www.adobe.com/go/learn_lc_formCalc
    http://www.adobe.com/devnet/livecycle/articles/Adobe_XML_Form_Object_M odel_Refer ence.pdf
    http://www.adobe.com/devnet/acrobat/pdfs/lc_migrating_acrobat_xmlform. pdf
    And a very handy resource (and while it is for version 6 it is still very good because of the way it is laid out): http://partners.adobe.com/public/developer/en/tips/CalcScripts.pdf
    There are some solutions on the Adobe Cookbooks: http://cookbooks.adobe.com/livecycle_designer_es
    Lastly, check out the Developer's Network on http://www.adobe.com/devnet/livecycle/ (the site has been updated and relaunched this week).
    Good luck,
    Niall

  • Create Email/Submit button that asks the user what email address to submit to

    Is it possible to have an Email/Submit button that will ask for the users to imput the email address in which to submit to?

    My own opinion is that you are going to tick off more people than you realize. I think you can handle this in one of a few better ways:
    1) Institute an interface/web service where the HR system can send you people that are terminated. If the person has sensitive company data or anything on your site it would be in their best interest to remove their access.
    2) Force password resets every x days. To reset a password, your page can send the link to their email. That way they have to establish they still work there to reset it.
    3) Along the lines of #2, just make them verify their account every x days. If they don't do it within a week timespan, lock their account until they can prove they work there.
    I mean unless you're dealing with top secret information, if someone gets a few extra days of your service its not a big deal. You have to balance the user experience with the reality that someone may get your service for free for a bit.
    I can still get into My Oracle Support with my old email address. I obviously would not dare to put in a ticket, but I can view bug notes, knowledge base..etc. So it happens.

  • How do I setup a form to validate a user's email address by having the user type in his/her address twice

    hiya guys, can anybody help with this? I have a form already that works great but I have found some people are not typing in their correct email address - so really would like to have the validation which wont let them carry on until their email typed in correct
    thanks

    Hi kidsdomain ,
    Where have you designed the file (Acrobat, Forms Central, Live Cycle designer)?
    Please help us with the information mentioned above to help you further on this.
    Thanks,
    Vikrantt Singh

  • TS4268 facetime doesnt find other ipad users with email address

    Just setting up a new ipad mini air and the facetime will not find email contacts

    Figured it out
    Here are some tips
    If you want to Facetime using email address with another apple device
    be it iPhone or iPad each individual device has to have a unique email address
    You can have the same ID for billing purposes but for FaceTime connection
    it has to have different email addresses
    In Settings select Facetime and make sure you have different email addresses
    If not you will get a busy signal
    To connect to an iPad you have to use the email address assigned to the facetime of that iPad
    To connect to the iPhone you can use either email address or the phone number
    Hope this will help some one
    Ram

  • Having trouble setting up Guest users account email address

    Hi.I've been using my Macmail with my administrative account for some time now.I recently set up a guest user account for a visiting reletive.I wanted to get the "Macmail" e-mail program up and running as well so they could use the same e-mail address that I use with my administrative account.After clicking on the Macmail icon in the dock and going through the steps to set up the account......I was then able to successfully send out and recieve a test e-mail. However...........after logging out of the guest account and back to my administrative account and then logging back into the guest account again.........when I now click on the Macmail icon in the dock........the e-mail program starts asking me to go through the steps to set an email program up again.It seems to have "forgotten" or disregarded that I already did this the last time I was logged in.I'm wondering why its doing this and how do I permanently set up this email account so that it doesn't disappear every time I log out? Thanks for any assistance.

    Files created while using a guest account are deleted when the user logs out. A temporary home folder is created for the guest’s files. When the they log out, the home folder and it’s contents are deleted.
    Instead create a standard non-admin account...
    Create a new User go to System Preferences > Accounts > "+"
    -mj

  • [EWS 2007] Retrieve current user email address.

    Hi all,
    We're building a Javascript frontend that interact with the EWS directly. Since user is authenticated via NTLM (browser), the Javscript do not aware the username and password. I am wondering if there are any way we get retrieve user's email address after
    authenticated in EWS?

    Have never came across a direct method that gives email-address of logged in user, but you can do simple hack by creating a PostItem and then getting email-address by its PostItem.getFrom() method, something like :
    PostItem postItem = new PostItem( service );
    postItem.setBody( MessageBody.getMessageBodyFromText("Test for email-address " ) );
    postItem.save();
    postItem = PostItem.bind( service , postItem.getId() );
    System.out.println( postItem.getFrom() );
    postItem.delete( DeleteMode.HardDelete );

  • Unable to set email address for user MySite in SharePoint2013

    Hi,
    I've a SharePoint Ent farm with a MySite Host Site Collection created. Under that, I've got some users having their own MySites.
    Now, the problem is, I'm unable to get the link for editing the user's email address after logging in to the MySite under the credentials of the particular user. 
    Can anybody please suggest. Is this field at all editable?
    Thanks,
    Arnab

    Hi John,
    Elaborating...
    I've created a MySite Host Site Collection programmatically, say, http://test.mysitehost.local/.
    Under the same I'm creating user mysites (through SharePoint2013 Object model), say, http://test.mysitehost.local/personal/user1. (for my case "personal" is the managed path). While creating the user mysites, I'm not passing any value for the email
    address of the user. 
    Now, my question is, can I set the email address of the user from MS native portal or through powershell?
    Please note, I'm using SharePoint2013 Server.
    Thanks in advance,
    Arnab

Maybe you are looking for

  • Not getting application in Java Web Start

    Hello Sir, I wanted to run an application using Java Web Start. So, I created a jnlp file and i have mentioned the necessary jar files and the main class file. when I clicked on the jnlp file, the application is running in the Server using Java Web S

  • How do you get rid of yellow triangular with ! in middle that appear against some of my bookmarks on my bookmark toolbar?

    I have yellow triangles next to some of my icons in my bookmarks and bookmark toolbar. They have an exclamation mafrk in them. It probably happens when there is difficulty connecting to them. But they hang around. How do you get rid of them even when

  • How to stop a process that i have started in my prog to stop

    public class stopproc {      public static void main(String args[]){ Runtime rt = Runtime.getRuntime(); try{ Process process = rt.exec("start notepad"); //Thread.sleep(1000); //process.destroy(); }catch(Exception ex){} The above is the code where i a

  • Query on BE, Tcode and GL accounts

    Hi Friends 1. surrogate bidding and proxy bidding: Are these performed by both BE and LAC.Is proxy bidding done by LAC only. 2.Tcode for GUI of CCM and SUS 3.Which version of srm supports multiple g/l accounts Regards Simha

  • Photoshop ugrade issues

    Recenly upgraded both my camera and my Mac computer and updates will not update in photoshop.  I have CS4 and Bridge with a Canon 5DMark II.