Fredd
asked on
SharePoint - JS to access Permission Groups
Sharepoint 2013 onprem, FC only
I need to get users in a permission group and also add/delete users in a group.
I'm using the code from
https://docs.microsoft.com/en-us/previous-versions/office/developer/sharepoint-2010/hh185012(v%3Doffice.14)
However, I'm getting "typeerror: B is undefined" which is deep in the create delegate function and I can cipher what the problem is.
Anyone have any luck with using JS to get and edit names in a sharepoint group?
I need to get users in a permission group and also add/delete users in a group.
I'm using the code from
https://docs.microsoft.com/en-us/previous-versions/office/developer/sharepoint-2010/hh185012(v%3Doffice.14)
However, I'm getting "typeerror: B is undefined" which is deep in the create delegate function and I can cipher what the problem is.
Anyone have any luck with using JS to get and edit names in a sharepoint group?
ASKER
Thanks - I only have FC - not farm access
Regardless, I need code to add and delete a user from a group -
is it simply .delete.(userCreationInfo) .
also have you actually run this successfully ?
Where is this kind of interface documented (for example, to see all users of a group). thanks
Regardless, I need code to add and delete a user from a group -
is it simply .delete.(userCreationInfo)
also have you actually run this successfully ?
Where is this kind of interface documented (for example, to see all users of a group). thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Open in new window
Note that there is no need to supply url, email and user name. Ensure double backslash in user login. Also - switch your SharePoint to debug mode: in web.config find <compilation batch="false" debug="false"> node and change it to <compilation batch="false" debug="true">. Perhaps it will produce more readable error messages.