Security Management may be a prime concern in SharePoint, because the right content has to be served to the proper individuals with the adequate permissions. SharePoint recommends assigning role-based permissions. All the permissions are managed through the roles. Roles are classified in two sections:SharePoint-2013-Hosting1

  • Role Definition
  • Role Assignment

Role definition, additionally called a permission level, is that the list of permissions, related to the role. Full control, contribute, read, design, and limited access are some of the role definitions available.
Role assignment is the relationship established between users/groups and the role definition.

In this blog, let’s use JavaScript Object Model to examine if user has Full control Permission level in the web.

Now we can add the above code in the Content Editor Web Part to see it in action.


Specify the URL of the text file containing the JSOM Code in the content link field.

Upon clicking “Apply”, we will get the output in the console, as shown below.

SharePoint 2016 Hosting Recommendation

HostForLIFE.eu’s SharePoint 2016 Hosting solution offers a comprehensive feature set that is easy-to-use for new users, yet powerful enough for the most demanding web developer expert. Hosted SharePoint Foundation 2016 is the premiere web-based collaboration and productivity enhancement tool on the market today. With SharePoint 2016 Foundation, you can quickly access and manage documents and information anytime, anywhere though a Web browser in a secure and user friendly way. SharePoint hosting services start at only at €9.99/mo, allowing you to take advantage of the robust feature set for a small business price. HostForLIFE.eu offers a variety of hosted SharePoint Foundation 2016 plans as well as dedicated SharePoint 2016 Foundation options.

hostforlife banner