• SharePoint JSOM: Check if a user is in a group

    Last day i was working in JSOM (JavaScript object model) on SharePoint Online. As per my clients requirement, i have to check a user, if he/she is a member of a particulate SP or not. In that Senior i used the following code. function(groupName, currentUser, clientContext) { var deferred = $.Deferred(); var currentWeb = clientContext.get_web(); […]