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 / November 2006

Tip: Looking for answers? Try searching our database.

User's Real Name from Active Directory

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mark1987vw - 01 Nov 2006 16:14 GMT
I know it's possible to get a userID ( Username) in a textbox, but it is also
possible to get de real name of the users from the active directory.

But.. I don't know how..

I hope someone can help me with this problem.

thnx
darko - 01 Nov 2006 16:26 GMT
Hi Mark,

yes, you are right, you can get the name from the active directory, but you
will have to white an so-called LDAP query.

> I know it's possible to get a userID ( Username) in a textbox, but it is also
> possible to get de real name of the users from the active directory.
[quoted text clipped - 4 lines]
>
> thnx
Maui Williams - 02 Nov 2006 20:40 GMT
Hi Mark,

I have written a webservice that retrieves both the users name and
samaccount name from active directory, and needed to make an LDAP call.

If you are hosting the Infopath form in Sharepoint there is a cleaner
approach to populating the list with user information.  I personally
like to use the UserGroup webservice that comes out of the box with
Sharepoint.

Regards,

Maui Williams | Solution Developer II, MCSD.Net
Avanade | West Region
2211 Elliott Avenue, Suite 200 Seattle, WA 98121

-----Original Message-----
From: Mark1987vw [mailto:Mark1987vw@discussions.microsoft.com]
Posted At: Wednesday, November 01, 2006 8:14 AM
Posted To: microsoft.public.infopath
Conversation: User's Real Name from Active Directory
Subject: User's Real Name from Active Directory

I know it's possible to get a userID ( Username) in a textbox, but it is
also
possible to get de real name of the users from the active directory.

But.. I don't know how..

I hope someone can help me with this problem.

thnx
Mark1987vw - 03 Nov 2006 09:23 GMT
Ok thnx but can you send my the source from that webservice, so I can take a
look.
And I Don't Use a Sharepoint it's that a problem.

Mark?

> Hi Mark,
>
[quoted text clipped - 28 lines]
>
> thnx
Deb - 14 Nov 2006 17:56 GMT
I am using Sharepoint and the form is being submitted to a Forms Library.  
Can you provide instructions on how to connect to AD to use it as a source
for a lookup, then assign the login id, user name and email address to fields
in the form?

Thanks!

> Hi Mark,
>
[quoted text clipped - 28 lines]
>
> thnx
Deb - 14 Nov 2006 18:08 GMT
Let me clarify.  I'm not a programmer.  This solution seems to be elusive to
those of us who are not.  InfoPath really fails us in this regard.  Since
it's part of Microsoft, you would think this would be very straightforward;
i.e., it's part of the Data Connection options or something.  Also since it's
part of InfoPath's User Roles dialog that allows you to validate names from
AD.

Are any of the top-notch developers out there willing to walk me through
this?  If so, I'll be happy to document step-by-step instructions and make
them available on the Web with the appropriate credit to the developer.

This is InfoPath 2003 with WSS 2003.  I want to connect to AD and let the
user pick a name.  From that record I want to retrieve the User's name (I
think it's the SAM name?), the login id, and and the email address.

Thanks so much!

> I am using Sharepoint and the form is being submitted to a Forms Library.  
> Can you provide instructions on how to connect to AD to use it as a source
[quoted text clipped - 35 lines]
> >
> > thnx
 
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.