Tagged Questions
0
votes
2answers
579 views
Custom job and System.Security.SecurityException: Access Denied
I have a custom job that I'm executing from a Web Part.
MySPJobDefinition myJob = new SPJobDefinition(SPContext.Current.Site.WebApplication, myParameters...);
//works
myJob.Execute(Guid.Empty);
...