AD Webservice and manager name - InfoPath Dev
in

InfoPath Dev

AD Webservice and manager name

Last post 03-22-2007 10:03 AM by Matt Faus. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 02-02-2007 06:39 AM

    AD Webservice and manager name

    I like the webservice, real easy to set up and use. The only problem I am having is I can get the manager info I gerythet the Cn, ou and everything else. Is there a way to pull just the CN portion of the manager information.
    What I am getting?
    (Example:manager CN=testgp,OU=IT Department,DC=crmc,DC=com)

    What I need?
    (Example: testgp)

    Any help would be appreciated.

    Thanks
  • 03-22-2007 10:03 AM In reply to

    Re: AD Webservice and manager name

    Hey quikdoc,

    You can do this in rules or code with a substring operation. It would look something like this:

    substring( indexOf("CN="), indexOf(",OU") - indexOf("CN=") )
    Matt Faus / Microsoft InfoPath MVP
    Qdabra® Software / Streamline data gathering to turn process into knowledge
Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.