use SPPersisted object to save data.
If you get access denied error then
then implement below two method it allow to access save data in SPPersisted Object.
protected override bool HasAdditionalUpdateAccess()
{
return true;
}
public bool CurrentUserIsAdministrator()
{
return true;
}
No comments:
Post a Comment