display current user information from active direc - InfoPath Dev
in

InfoPath Dev

display current user information from active direc

Last post 06-17-2006 08:50 PM by Carolyn. 4 replies.
Page 1 of 1 (5 items)
Sort Posts: Previous Next
  • 05-01-2006 05:11 AM

    • saba
    • Not Ranked
    • Joined on 04-30-2006
    • Posts 5

    display current user information from active direc

    i want to design an infopath form and publish it to sharepoint,
    when the user who is logged on sharepoint clicks "fill this form" from form library,the form should open and displays the information of the user that are retrieved from active directory,
    how should i program such form in infopath that:
    1-gets the currectly logged in user
    2-retrieves the properties of this user from active directory and displays them in the form.
    thanks

  • 05-01-2006 07:06 AM In reply to

    • Anuma
    • Top 25 Contributor
      Female
    • Joined on 07-20-2005
    • India
    • Posts 525

    Re: display current user information from active direc

    Hi Saba,
    Please check the links below.
    http://www.infopathdev.com/forums/topic.asp?TOPIC_ID=2242
    http://www.infopathdev.com/forums/topic.asp?TOPIC_ID=896

    I hope this will help you.
    Anuma Chinthapalli /
    http://www.GGKTech.com
  • 06-04-2006 08:21 AM In reply to

    • lucky
    • Not Ranked
    • Joined on 06-04-2006
    • Posts 2

    Re: display current user information from active direc

    bonjours a vous tous j'ecris en francais parcequeje ne connai pas tres bien l'anglai, mais voila, j'aimerai charger ma liste d'utilisateur a prtir de active directory dans un fromulaire infopath et je ne m'y connais pas trop si vous pouviez m'aidez sa serai me sauvez la face.
    merci a vous tous.
  • 06-17-2006 01:02 PM In reply to

    Re: display current user information from active direc

    quote:
    Originally posted by lucky

    bonjours a vous tous j'ecris en francais parcequeje ne connai pas tres bien l'anglai, mais voila, j'aimerai charger ma liste d'utilisateur a prtir de active directory dans un fromulaire infopath et je ne m'y connais pas trop si vous pouviez m'aidez sa serai me sauvez la face.
    merci a vous tous.


    Et mon francais n'est pas bon.

    Ma programmacion est dans VB.net. Voila:

    Dim strUserName As String
    strUserName = System.Environment.UserName
    thisXDocument.DOM.selectSingleNode("/my:myFields/my:UserName").text = strUserName

    Il y a une methode facile pour savoir le nom complete d'un champ. Double-click sur le champ, et choisir "Data Validation", donc "Events". (Je ne sais pas le francias ici.) Dans "Events", choississez un du trois OnBeforeChange, OnValidate, OnAfterChange. Allez a la programmacion page et voyez le nom complet. Copier et paste en place.
  • 06-17-2006 08:50 PM In reply to

    Re: display current user information from active direc

    Autre chose:

    Nous n'avons pas chance avec le active directory. Nous avons preparé une fiche d'Access avec tout l'informacion, et fait le db connection du Access au Infopath avec tout. Il est plus facile pour moi que travailler avec le active directory.
Page 1 of 1 (5 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.