User login validation - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

User login validation

Last post 02-21-2017 07:55 AM by Hilary Stoupa. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 02-21-2017 05:29 AM

    User login validation

    Hello,

    My apologies if this is posted in the wrong topic forum.

    I've created a form for an initial person to complete.

    Another person would then select a link to open and review the completed form as a read-only. However, can I validate the logged in user to SharePoint to determine if they can even click the "review" link?

     In case I'm not clear.

    Erik logs into the company SharePoint site. He opens the "front page" to a form and wants to select the link to open the form so that he can review it. On load, the "front page" form would validate the logged in user to make sure that he/she has permissions to view and click the link to review the form.

    Thank you

  • 02-21-2017 07:10 AM In reply to

     Hi, Erik - I went ahead and moved this to General since I don't think you'll need code here. :)

    You will have the user's name from the userName() function in InfoPath - is that adequate for what you need to do? What do you need to compare to in order to determine who can review a form? 

    Hilary Stoupa

  • 02-21-2017 07:38 AM In reply to

    Hi,

    I'd have a list of specified "reviewers".

    I'm not sure if this list should be kept on SharePoint and have the SharePoint user login compared with a list of reviewers. Or compare the SharePoint login with a predefined list within InfoPath?

  • 02-21-2017 07:55 AM In reply to

    Will this list change frequently? If so, I'd use SharePoint. If not, I'd use an XML file in my InfoPath form. :)
    Hilary Stoupa

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