Application Roles - InfoPath Dev
in

InfoPath Dev

Application Roles

Last post 01-28-2009 06:27 PM by Shiva. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 01-28-2009 09:12 AM

    Application Roles

    Is it possible to implement sql server application roles to my infopath form? the idea is to allow the form to submit/update the data but not the individual users. Thank you.
  • 01-28-2009 06:27 PM In reply to

    • Shiva
    • Top 25 Contributor
    • Joined on 04-15-2005
    • India
    • Posts 694

    Hello,

    In your case you have to prepare one secondary xml file which contains two groups and in that list you have to add the list to submit and editing permission users. In onLoad code, you have to verify the login user is available in edit permission is there or not for submitted form and check the login user is available in submit permission for new form. Based on this we can open the form otherwise we can close the form with message prompt.

    Your secondary xml file should be;

    <Permissions>

    <Group name='Submit'>

              <User>aaa</User>

              <User>bbb</User>

    </Group>

    <Group name='Edit'>

              <User>ccc</User>

              <User>ddd</User>

    </Group>

    </Permissions>

    Another way is you use User Roles in InfoPath forms.

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