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
  • 4
  • 2
LVL 31

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 31

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?
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.


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 31

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 31

Accepted Solution

Jamie McAllister MVP earned 500 total points
ID: 38800661

Featured Post

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SharePoint Online/365 with SAP API 2 100
SharePoint List Calculated Field 4 41
Troubleshoot SharePoint 2013 Excel Services on IE 11 14 125
Access Web App or PowerApp 29 45
Note:  There are two main ways to deploy InfoPath forms:  Server-side and directly through the SharePoint site.  Deploying a server-side InfoPath form means the form is approved by the Administrator, thus allowing greater functionality in the form. …
When installing SharePoint 2010 RTM I came across a strange error, I was getting timeouts during the installation. I searched the web and found the best solution to be found here (…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

828 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