如何根据RBS(资源分解结构)任务权限以编程方式获取项目任务c#project server 2013 [英] How to get project task according to RBS(Resource Breakdown Structure) task permissions programmatically c# project server 2013
问题描述
如何根据权限获取项目任务,如果我是项目经理,那么我有权查看我的团队成员任务,如果我是团队成员,那么我有权只查看我的任务。所有这些相同的问题风险里程碑等使用c#project
server 2013
不幸的是,我认为这样做的唯一方法是走下项目=> tasks =>分配并检查资源是否与您要查找的当前资源相匹配。如果是,则可以列出匹配的任务。我没有
认为在CSOM或PSI中有一个内置的方法,但你也可以对odata做一个聪明的LINQ查询。
how to get project task according to permissions, if i am a project manager then i have right to see my team member tasks and if i am a team member then i have right to see only my tasks. and all these same in issues risk milestones etc using c# project server 2013
Unfortunately, I believe the only way to do this is to walk down the project => tasks => assignments and check to see if the resource matches the current resource you are looking for. If it does, then you can list the tasks where this matches. I don't think there is a built it method for this in either CSOM or PSI, but you may be able to do a clever LINQ query against odata too.
这篇关于如何根据RBS(资源分解结构)任务权限以编程方式获取项目任务c#project server 2013的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!