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

How to determine if a user is site collection or farm admin in the webpart C# code?

$
0
0

Hi,

I my webpart, I need to provide certain capabilities for site collection admins and farm admins only.

What is the best way to determine if a user is a site collection admin or farm admin in c# code?

Thank you,


Viewing all articles
Browse latest Browse all 25064

Latest Images

Trending Articles



Latest Images

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