GetUserProfileByName Validation Error for two employees with the same name - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

GetUserProfileByName Validation Error for two employees with the same name

Last post 08-07-2024 02:34 PM by SeanPRyan. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 02-08-2024 08:37 AM

    • SeanPRyan
    • Top 200 Contributor
      Male
    • Joined on 02-02-2012
    • Kansas City area
    • Posts 59

    GetUserProfileByName Validation Error for two employees with the same name

    I have a way to solve what I need for now, so this is a curiosity with this connection. I have two users with the same name in my organization. Let's say Jane Doe. Both have unique user ids. I first get the logged in user domain\LoginId. Then, I Set the Account Name, Run the Query and Set Employee Fields. The fields even set correctly for the Department and a few others. But, when the user hits submit, it fails with a validation on the name that shows in the Employee people picker field. It works for everyone else except Jane Doe. For now, I've simply changed the rules to everyone except Jane, run the rules. Has anyone bumped into this before? If so, what did you do to solve? Thank you!
    Sean
  • 02-12-2024 07:14 AM In reply to

    Re: GetUserProfileByName Validation Error for two employees with the same name

    Is this a list form? I'm asking because I'm curious about the validation failure....
    Hilary Stoupa

  • 08-07-2024 02:34 PM In reply to

    • SeanPRyan
    • Top 200 Contributor
      Male
    • Joined on 02-02-2012
    • Kansas City area
    • Posts 59

    Re: GetUserProfileByName Validation Error for two employees with the same name

    I apologize for not responding sooner. It is a library form. It's a little strange because the user login id is different for both. I still just have a specific rule in place for this one end user.
    Sean
Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.