Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. SharePoint
  4. InfoPath : Restrict visibility to users in a AD Group

InfoPath : Restrict visibility to users in a AD Group

Scheduled Pinned Locked Moved SharePoint
windows-adminhelptutorial
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    madan mohan2k6
    wrote on last edited by
    #1

    Hi, How to check logged-in user name in Active Directory specific Group and make visible InfoPath 2010 Form view's with out custome code. Can some one please help me... Thanks, Madan.

    I 1 Reply Last reply
    0
    • M madan mohan2k6

      Hi, How to check logged-in user name in Active Directory specific Group and make visible InfoPath 2010 Form view's with out custome code. Can some one please help me... Thanks, Madan.

      I Offline
      I Offline
      Ingo
      wrote on last edited by
      #2

      madan.mohan2k6 wrote:

      with out custome code

      Not possible. You can get the username, you can compare it to sharepoint lists but not in ad. So the only way without custom code is, to setup an accessmatrix with username / roles so that you can lookup all usernames by a given role.

      SharePoint Consultant and Developer at acocon Author of Primary ROleplaying SysTem I'm the ninth in a row of seven!

      M 1 Reply Last reply
      0
      • I Ingo

        madan.mohan2k6 wrote:

        with out custome code

        Not possible. You can get the username, you can compare it to sharepoint lists but not in ad. So the only way without custom code is, to setup an accessmatrix with username / roles so that you can lookup all usernames by a given role.

        SharePoint Consultant and Developer at acocon Author of Primary ROleplaying SysTem I'm the ninth in a row of seven!

        M Offline
        M Offline
        madan mohan2k6
        wrote on last edited by
        #3

        what is accessmatrix with username / roles? how to do it?

        I 1 Reply Last reply
        0
        • M madan mohan2k6

          what is accessmatrix with username / roles? how to do it?

          I Offline
          I Offline
          Ingo
          wrote on last edited by
          #4

          Simpliest way: Setup a list with roles (you can check in your infopath formular) and names: Role.........Name User.........John User.........Artemis Advisor...Madan Advisor...Ingo You can import this list as secondary dataconnection and filter for the username and the needed roles. If there is a result, the user has the nessessary role otherwise he hasn't.

          SharePoint Consultant and Developer at acocon Author of Primary ROleplaying SysTem I'm the ninth in a row of seven!

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups