Determine with C# if a user exists in the SharePoint group or in the included AD Group

SharePoint 2016 Logo

Class to determine if a user is in the SharePoint group or is in the AD Group, which is added to the SharePoint group. So, the admin access to a custom SharePoint module is that everybody, who exists in the admin group, has more data. The admin group is a SharePoint group, which contains SPUsers (from domain) and Domain groups, which contain AD Users. Actual for SharePoint 2016, 2019.

(read more...)

MarkiMarta.com. Notes of web-specialist
Since 2009