InfoPath : Restrict visibility to users in a AD Group
-
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.
-
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.
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!
-
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!
what is accessmatrix with username / roles? how to do it?
-
what is accessmatrix with username / roles? how to do it?
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!