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 / December 2005

Tip: Looking for answers? Try searching our database.

Populate a field based on the logged in user on the computer

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
matthewDBS - 27 Dec 2005 17:00 GMT
I am creating web based forms in Infopath that submit data to an Access
database. I would like to have the 'submitted by' field autopopulated by the
user's credentials based on Active Directory. Rather then having them type
their name in, which will create possible inconsistancies in the database, I
want it to cross reference their domain username with Adctive Directory and
put it in the field. I imagine it might be a simple formula such as using the
system time or date, but I am not able to find anything on it. I am using MS
Office Pro 2003 and Exchange 2003 Enterprise Edition.
Franck Dauché - 28 Dec 2005 08:55 GMT
Hi Matthew,

Did you try: System.Environment.UserName in C# (Code Behind).
For a simple call to AD, look at:
http://www.infopathdev.com/webstore/detail.aspx?itemid=18

Regards,

Franck Dauché

> I am creating web based forms in Infopath that submit data to an Access
> database. I would like to have the 'submitted by' field autopopulated by the
[quoted text clipped - 4 lines]
> system time or date, but I am not able to find anything on it. I am using MS
> Office Pro 2003 and Exchange 2003 Enterprise Edition.
 
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.