Show / Hide a DIV tag based on a user group in SharePoint via SPServices

In this hint, I’ll elaborate How to show/hide a DIV tag based on a user existence in a specific group with a specific permission in SharePoint via SPServices?Show Hide DIV tag based on user group in SharePoint via SPServicesScenario:

Consider you have a SharePoint Page that holds a 2 Script Editor Web Part or more, and each Script Editor Web Part has its independent DIV as shown below.Show or Hide a DIV tag based on a user group in SharePoint via SPServicesNow, you need to hide the left (DIV) with ‘< div id="ID1"> Qassas div ID1< /div > from all users who belong to a specific SharePoint Group in your SharePoint site.

Steps: Continue reading “Show / Hide a DIV tag based on a user group in SharePoint via SPServices”

Advertisements