Search EggHeadCafe's Job Board
EggHeadCafe Silverlight WPF ASP.NET VB.NET C# Excel SQL Server SharePoint
search
Miscellaneous GroupsView
Adsi General
Axapta
Greatplains
Helpauthoring
Hiserver General
Infopath
Mac Office
Mac Office Entourage
Mac Office Word
Mac Otherproducts
Mac Rdc
Mac Virtualpc
Macintosh General
Mom
Mshardware Product
Windows File_System
Windows Group_Policy
Windows Msi
Windows Tabletpc
Pos
Servicesforunix General
Simulators
Smartphone
Softwareupdatesvcs
Solomon
Windbg
Windows Terminal_Services
Dataprotectionmanager
Axapta Application
Axapta Programming
Windows Sharedaccess
Fortran
Groove
Msroboticsstudio
Deployment Desktop
Design Gallery
Developer Outlook Addins
Development Device Drivers
Windows Devices Pnpx
.NET Micro
Dynamics Gp Developer
Security Forefront
Internetexplorer Beta
Sv Windows
Development Device Drivers Dtm
Hyper-V
Internetexplorer

Group SummariesView
.NET Framework
Access
BizTalk
Certifications
CRM
DDK
Exchange Server
FoxPro
French
French .NET
Games
German
German .NET
Graphic Design
IIS
Internet
ISA Server
Italian
Italian .NET
Maps
MCIS
Miscellaneous
Mobile Apps
Money
MSN
Networking
Office
Ops Mgr
Publisher
Security
SharePoint
Small Business
Spanish
Spanish .NET
SQL Server
Systems Management Server
Transaction Server
Virtual PC / Virtual Server
Visual Studio
Win32
Windows 2000
Windows 2003 Server
Windows 7
Windows Live
Windows Media
Windows Update
Windows Vista
Windows XP
 

View All Microsoft Infopath Posts  Ask A New Question 

Accessing AD data from user name using codeless solution

Ian posted on Wednesday, November 14, 2007 3:50 PM

Hi

I have a form that refers to users (other than the current user) and I want
to validate them and access their Active Directory data. I have played with
the method outline in the first part of wkriebel's blog:
http://weblogs.asp.net/wkriebel/archive/2005/01/24/359669.aspx
This involves setting the query value field in the GetUserProfileByName
webservice (supplied with MOSS) to the user Name and interrogating the
results.

From analysis I know the query field is being updated but for some reason
the query doesn't seem to be firing as the results are not updated.

Can anyone help with this - I have trolled the Internet without success

Note that I am using MOSS and Infopath 2003 SP2 (which seems to be supplied
with MOSS). Any solution has to be codeless


Thanks

Ian B
reply

 

Hey Ian.

ClayFo posted on Wednesday, November 14, 2007 3:55 PM

Hey Ian.

Have you looked at the AD webservice included with the Database Accelerator
at http://www.qdabra.com?
It is codeless and can do a lookup and return all of the data on a
particular user, return the current user's domain account(not just the local
account which can be different in a VPN or RAS scenario), and verify a user's
group membership.

I use that so I am not real familiar with the MOSS version.
--
Thanks

Clay Fox

Qdabra Software
http://www.qdabra.com

InfoPathDev.Com
The Largest InfoPath Forum in the World
http://www.infopathdev.com
reply

Thanks ClayI just need something to tidy up a process - theres no will to buy

Ian posted on Wednesday, November 14, 2007 4:06 PM

Thanks Clay

I just need something to tidy up a process - theres no will to buy a
solution.  There are some web services around on the net that provide some of
the funtionality but I am trying to work under the IT radar. From what I have
seen I should be able to do this relatively simply using inbuilt Infopath
functionality. I'm just missing that vital piece of the jigsaw

Ian
reply

I'm unfamiliar with the solution, but have you added a rule somewhere (such as

SYMWongATo posted on Friday, November 16, 2007 1:32 AM

I'm unfamiliar with the solution, but have you added a rule somewhere (such
as on a button) with an Action to "Query using a data connection" and
selected the "GetUserProfileByName" data connection? You need to query the
data connection after you've set the value for the username, otherwise no
data will be returned.
---
S.Y.M. Wong-A-Ton
reply

Thanks Wong-A-TonThe information you provided worked and the codeless updating

Ian posted on Sunday, November 18, 2007 10:31 PM

Thanks Wong-A-Ton

The information you provided worked and the codeless updating of user
details is functioning from the user account name which is a great step
forward.

Is there a web sevice (or some other way) that will support a query on Full
Name and either return account name or other profile details?

Thanks

Ian
reply

I don't know of any, but I'm sure you could write a custom web service to

SYMWongATo posted on Monday, November 19, 2007 7:44 PM

I don't know of any, but I'm sure you could write a custom web service to
retrieve that kind of information. It might be worth posting your question in
one of the SharePoint groups?
---
S.Y.M. Wong-A-Ton
reply

 
 

Previous Microsoft Infopath conversation.