To send emails from SharePoint, we use SharePoint workflow or SharePoint Utility Email using C#. But what if you want to send emails from your client-side code. So, recently I faced a situation where I have to send emails from my client-side code where I was using JSOM as CEWP mythology. So, I was looking […]
JSOM
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(); […]