AD Web Service: How to display name and email? - InfoPath Dev
in

InfoPath Dev

AD Web Service: How to display name and email?

Last post 07-19-2005 02:19 PM by titan90. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 07-19-2005 11:17 AM

    • titan90
    • Not Ranked
    • Joined on 07-19-2005
    • USA
    • Posts 3

    AD Web Service: How to display name and email?

    I have the AD Web Service set up correctly and can view the Keys and Values from within a Infopath form.

    I am new to coding within InfoPath and could use some help with what I would like to use the AD Web Service to do. All I want is for the display name and the email address to pre-populate in my InfoPath form when it's opened by a user. I know I need to get the values by using the correct key names...but don't know the best way to go about it.

    Any help would be appreciated.
    Thanks.
    KP
  • 07-19-2005 11:43 AM In reply to

    • titan90
    • Not Ranked
    • Joined on 07-19-2005
    • USA
    • Posts 3

    Re: AD Web Service: How to display name and email?

    I figured out one way to display what I was looking for.
    I made the text boxes into expression boxes.
    Opening Expression Box properties, I clicked edit formula.
    I clicked Insert Field Or Group and created the following formula:
    .Value[Key = "cn"] by setting the data source to value and then creating a filter data saying the Key was equal to cn.

    It works like a charm for what I wanted to do!

    Thanks for the great Web Service!!!
    KP
  • 07-19-2005 02:19 PM In reply to

    • titan90
    • Not Ranked
    • Joined on 07-19-2005
    • USA
    • Posts 3

    Re: AD Web Service: How to display name and email?

    FYI - After I started applying different views, I switched the controls from expressions back to text boxes.

    KP

Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.