SharePoint Security

The code I am attaching will do the following things

  1. Get all users from the site
  2. Check if User is Site Admin
  3. Get all groups the user belongs to
  4. Details page of user on click of user name
  5. Navigate to group on click of group name

I have used to enable the following

  1. Default UI of
  2. Search
  3. Sort
  4. Export to CSV, Excel, PDF

This is a working code for Office 365

Code : sharepoint security

In addition to the above code, the following JavaScript library files will be required:

Reference URL (you may really need to check these to know how it works):

sharepoint security


Leave a Reply

Your email address will not be published. Required fields are marked *