Does anyone ever check if user is site collection admin in SharePoint 2010 in ECMA script? I googled around and can’t find any working solutions. It’s very weird that they make it so hard to do the check in SharePoint 2010.
Thanks,
Perry
Hi Manjunatha,
Thanks very much for your reply and the sample code.
In your code, the line group=groupcollection.getById(7); Does that mean the group id of the Site Collection Admin group is and always be “7”?
Thanks again,
Perry