User profile by name - InfoPath Dev
in

InfoPath Dev

User profile by name

Last post 08-31-2012 04:59 PM by juree. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 08-31-2012 04:02 PM

    • juree
    • Not Ranked
    • Joined on 04-25-2012
    • Posts 6

    User profile by name

     hi all!

    i have to get the username of a last user that submitted the browser enabled form,
    check and forbid if he tries to do it again

    GetUserProfileByName is working in InfoPath preview (during the test) and it returns the correct user,
    but in browser it returns name of the Sharepoint service account

    when form is submitted, in library in last modifed field - there is a correct name of a submitter

    any suggestions what to check and how to fix it?
    i tried to retrieve user profile on form load, then query for data on button click
    but the outcome is same - service account instead of logged user

     

    thx!

  • 08-31-2012 04:59 PM In reply to

    • juree
    • Not Ranked
    • Joined on 04-25-2012
    • Posts 6

     i didn't mention that authentication provides says: windows

    event log and sharepoint log checked but nothing in there (i think!)

    can access thrue browser to http://servername/sites/newsite/_vti_bin/UserProfileService.asmx

     

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