Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / February 2008

Tip: Looking for answers? Try searching our database.

User Login Name

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Paul Mayer - 05 Feb 2008 14:29 GMT
Is it possilbe to get the users damin login name from a Windows XP machine
into an infopath form?
Clay Fox - 05 Feb 2008 15:25 GMT
Hey Paul.

Identifying the user of your forms is often essential and usually very
handy. I do this on nearly every form I create.

With 2007 they have a username function. Also there is code you can run
which get the current user.  The only downside of this is that code requires
a full trust (installed) form and that in a VPN / RAS / Remote situation the
local  user name is not typically what you want.  You wan their domain
credentials.

If you have SharePoint there are some ways to use a web service with 2007 or
some work around in 2003.

I use an Active Directory web service. Not only can I identify the domain
credentials of the user each time they open the form but I can also query
Active Directory for their email, address, location, department, address,
etc.  I can also use the web service to look up other users information or
check group membership.

An example is available at http://www.qdabra.com/proddetail.asp?prod=QADWS

Signature

Clay Fox / Microsoft InfoPath MVP
www.InfoPathDev.com / The InfoPath Authority / Downloads, Samples, How-To,
Experts, Forum

> Is it possilbe to get the users damin login name from a Windows XP machine
> into an infopath form?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.