1
Vote

FBA Site gets access denied

description

Hi Chris,
First off, thank you for your contributions!
I seem to be getting an access denied when trying to fetch the feature from a FBA enabled site (selectedSite.QueryFeatures). My user is a site collection administrator and site owner. Wrapping the code in a RunWithElevatedPrivileges call seems to do the trick but I know it's not the best practice.
Any insight?
Thanks,
 
Yohan

comments