SPUser.IsSiteAdmin Property
SP.User.isSiteAdmin property (sp.js)
if(currUser.get_isSiteAdmin)
{
console.log("Current user is site Admin");
}
else{
console.log("Current user is not site Admin");
}
Tech blogger and problem solver, I share hands-on experiences, insights, and practical solutions to real-world technical challenges. Backed by strong expertise in Microsoft technologies — including Power Platform, SharePoint, Azure, RPA, Copilot, AI/GenAI agents, and Python automation — I write about the issues I encounter in my day-to-day work and how I solve them. My goal is to support others in overcoming similar roadblocks and and make a meaningful contribution to the tech community.
If you're planning to build your own AI assistants (called copilots ) using Microsoft 365 Copilot Studio, it's important to underst...
No comments:
Post a Comment