In SharePoint when using SPSecurity you might come across this error "
the name SPSecurity does not exist in the current context"
Probably you are using a sandbox solution. You cannot use SPSecurity in sandbox solutions. Instead, go with a Farm solution in order to run this code.
No comments:
Post a Comment