get the email ID from AD

Posted on 2009-04-18
Last Modified: 2012-05-06
Hi EE,
Already Robbie_Leggett: has answered my question . (
Later I went into an issue, If preferred name is having space between Lastname and first name(eq: Robbie Leggett) then its throwing error, saying some rules are not applied.
"The query cannot be run fot the following dataobject: GetUSerProfileByName
Infopath cannot einthe specified query.
The SOAP response indicates that an error occurred:
A user with the account name Robbie Leggett could not be found. --> User Not Found: Could not load profile data from the Database. "

It works for names without space.
what is the workarround for this.
Question by:agcps
    1 Comment
    LVL 8

    Accepted Solution

    Since you have hardcoded your drop down list, I think this will work.

    For each of your drop down item entries, set the Display to the Name of the person and set the Value to the email id. Then, set your preferred name field equal to the drop down field. The drop down field will display the name and the preferred name field will display the true value, the email id.

    Featured Post

    Courses: Start Training Online With Pros, Today

    Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

    Join & Write a Comment

    Last week I faced a strange issue recently, i have deployed SharePoint 2003 servers for one project and one of the requirements was to open SharePoint site from same server. when i was trying to open site from the same server i was getting authentic…
    Microsoft SharePoint Foundation 2010 and Microsoft SharePoint Server 2010 do not offer the option to configure the location of the SharePoint diagnostic trace log files during installation.  This can, however, be configured through Central Administr…
    In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…
    Sending a Secure fax is easy with eFax Corporate ( First, Just open a new email message.  In the To field, type your recipient's fax number You can even send a secure international fax — just include t…

    754 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    23 Experts available now in Live!

    Get 1:1 Help Now