Infopath and AD

R

Ruky Obahor

Is there anyway for Infopath to pull usernames and other info from active
directory in a 2003 environment ?

Scott L. Heim provided this code below.
----------------------------------------------------
Dim objUser
Set objUser = XDocument.DOM.selectSingleNode("//my:myFields/my:field1")

If objUser.Text = "" Then
objUser.Text = GetADInfo
End If
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top