Managing SharePoint User Group Memberships with JQuery and SPServices

 Computer, Sharepoint, Software  Comments Off on Managing SharePoint User Group Memberships with JQuery and SPServices
Dec 162015
 
Share

Create a simple interface to add/remove a single user to/from multiple groups at once. When you identify/select a user, it will show you two select lists. The right side will list all of the groups the current user is a member of while the left box shows all the groups the user is NOT a member of. Between the two select lists are buttons to ‘move’ the groups from one side to the other for the identified user (while modifying their memberships appropriately in the process). The select boxes are configured to allow multiple select so you can usually perform the maintenance in just a couple clicks.




User Group Membership
Select a User:   
Available Groups Assigned Groups


image_thumb

Query for SharePoint Groups and Members with JQuery and SPServices

 Computer, Sharepoint, Software  Comments Off on Query for SharePoint Groups and Members with JQuery and SPServices
Dec 152015
 
Share

The following code returns all SharePoint permissions groups and the respective members.
This uses JQuery 1.xx and SPServices.


// Add JQuery and SPServices references. //






GroupMember