0
當我跟隨http://msdn.microsoft.com/en-us/library/office/jj873844.aspx和發佈(與F5)我的應用程序和函數被調用:的Sharepoint /的Project Server 2013演練:創建SharePoint託管項目Server應用程序
function getAssignments() {
assignments = PS.EnterpriseResource.getSelf(projContext).get_assignments();
projContext.load(assignments,
'Include(Project, Name, ActualWork, ActualWorkMilliseconds, PercentComplete, RemainingWork, Finish, Task)');
// Run the request on the server.
projContext.executeQueryAsync(onGetAssignmentsSuccess,
// Anonymous function to execute if getAssignments fails.
function (sender, args) {
alert('Failed to get assignments. Error: ' + args.get_message());
});
}
我獲得以下錯誤:
錯誤:GeneralSecurityAccessDenied
你知道爲什麼嗎?我在哪裏使用屬於管理員組的本地帳戶。