Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

Remove users who do not belong to groups using CSOM

$
0
0

Hi,

Is there a way to remove a user who has been explicitly granted permission to a site or subsite (e.g. Direct Read or Contribute), instead of being assigned to a group using CSOM?

Web.SiteUsers.RemoveById will remove the user from site collection, which I don't want.

Thanks,

Debasish


SharePoint Architect


Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>