Switch views based on a user in SharePoint group by using Info path 2010

Posted on 2013-01-20
Last Modified: 2013-02-13

Based on the SharePoint group i need to switch views in Infopath 2010 Forms. how can i do it?

I can change view based on the current logged username but i need to do the same if the user is exist in a SharePoint group.

Your support please.

Question by:mshaji
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
LVL 32

Expert Comment

by:Jamie McAllister MVP
ID: 38800105
To check the group membership you do this;

Author Comment

ID: 38800122
I tried already this and its not working with me.
Do you have any other easy way steps
LVL 32

Expert Comment

by:Jamie McAllister MVP
ID: 38800125
Perhaps you could offer more detail. In what way doesn't it work? Are web service calls available to you? Is there some sort of error? What happens?
U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.


Author Comment

ID: 38800129
I created the UserProfileService web service but its not available in the dataFields group

I reached until the step

Expand the dataFields group as shown in the screenshot and select Value
Stuck here

LVL 32

Expert Comment

by:Jamie McAllister MVP
ID: 38800164
Difficult for me to say. I cant see exactly what you're doing to add the Web Service.

You're deffo clicking on the secondary  datasource?
LVL 32

Accepted Solution

Jamie McAllister MVP earned 500 total points
ID: 38800661

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I used to be SharePoint evangelist in our company, so my Outlook always full of questions about how to do this, or where I can find that. One day I found such an email with the following question: "how to attach 3-State workflow (one of the workflow…
These days socially coordinated efforts have turned into a critical requirement for enterprises.
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

617 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question