如何根据RBS(资源分解结构)任务权限以编程方式获取项目任务c#project server 2013 [英] How to get project task according to RBS(Resource Breakdown Structure) task permissions programmatically c# project server 2013

查看:99
本文介绍了如何根据RBS(资源分解结构)任务权限以编程方式获取项目任务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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆