GetUserInfo using Display Name (not username) - InfoPath Dev
in

InfoPath Dev

GetUserInfo using Display Name (not username)

Last post 02-03-2010 03:43 AM by ErnestoM. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 04-14-2008 12:46 PM

    GetUserInfo using Display Name (not username)

    I have a form that is getting the manager's distinguished name using the AD Web Service.  I then have a field that is parsing the distinguished name and giving me the manager's display name.

    substring-after(substring-before(strManagerNameFull, ","), "CN=") 

    Now I need to figure out the manager's username.  I could parse the display name for first initial and last name, which is our naming convention, however, this isn't desired as the username might not fit that standard for some reason.

     
    Can I query the GetUserInfo with the display name, or is there a better way to get this?

     

    Thanks,

     Jamie Tallman

     

  • 04-15-2008 08:46 AM In reply to

    Re: GetUserInfo using Display Name (not username)

    Hi Jamie.

    Send me an email and I will show you how this can be accomplished.

  • 02-03-2010 02:30 AM In reply to

    Re: GetUserInfo using Display Name (not username)

    Hi clay,

    Please assist me in the following problem in the infopath form, i am using k2 - i dont have qdabra's ADservice.

    I got a text box where i will be typing the 3 to 4 charaters and click search button to get the search results.

    I am struggling with the rule.

    Please tell me what rule i need to keep to working my button rule to work.

    Please assist urgently. Thanks in advance.

    The problem is

    The Infopath form is working perfectly fetching all the users in the active directory.

    I got like this

     Text box

    Search button

    Dropdown with all active directory users.

     In the button i kept the following action in the rule..

    1. Set a field's value as

    field = datasource is AD_User_Get_Users(Secondary)

    Queryfileds>InputProperties>Name

    Field = Name

    Value = concat(*,TextBoxField,*)

    amd also added a query

    Ad_User_Get_Users

    so i added 2 actions

    one is field value and second is query.

    but when on running, i can see users in the dropdown on loading form, when type something in text box and click search , i see the dropdown users vanish. so it is not searching by the textbox characters.

    Please assist me in configuring correct rule i need to use to get search results in the dropdown.

     Thanks

    Ravi

  • 02-03-2010 03:43 AM In reply to

    Re: GetUserInfo using Display Name (not username)

    Hi dakesun,

    This board is specifically meant for users of Qdabra's software products.

    Please post your question in the InfoPath section of this forum to see if other community members will reply.

    Thank you.

    Ernesto Machado
    Qdabra® Software/ InfoPathDev.com
    The InfoPath Experts – Streamline data gathering to turn process into knowledge.™


Page 1 of 1 (4 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.