如何根据EPM默认权限以编程方式获取项目任务在项目服务器2013中 [英] how to programmatically get project task according to EPM default permissions In project server 2013

查看:61
本文介绍了如何根据EPM默认权限以编程方式获取项目任务在项目服务器2013中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望以编程方式根据项目权限获取项目任务。例如:如果我是项目经理,那么我有权查看我的团队任务,但我的团队无法看到我的任务等等。在项目服务器2013中



anil gangwar

i want to programmatically get project task according to project permissions. example: if i am a project manager then i have right to see my team task but my team can't see my task etc.. in In project server 2013


anil gangwar

推荐答案

Hi Anil,

Hi Anil,

 您提出的方案可能有点复杂,以编程方式实现,因为您需要为每个用户验证他在报表中拥有的权限集。如果您打算根据项目和RBS的权限
获取任务详细信息,请考虑以下关键点

  The scenario that you are putting forward could be a bit complex to implement programatically as you would be required to validate for each user the set of permissions that he has in your report. if you intend to have the Task details based on permissions on projects and RBS consider below key points

- 检查当前用户是否已分配给任务列表

- Check if current user is assigned to a task list them

- 检查项目是否属于他的所有权并且任务分配给他

- Check if project is under his ownership and task is assigned to him

- 如果当前用户是直线经理那么RBS下的所有人(取决于你如何)已配置安全模板和类别以及您在组织中的模型。

- If current user is a line manager then all people under the RBS (depends how you have configured the Security templates and categories and what is your model in the org).

 您在这里有多个组合和方案。如果您可以分散您的目标,我们可以更具体地确定要验证的内容。 

  You have have multiple combination and scenarios here. If you can be discrete what is your target we can be more specific on what to validate. 


这篇关于如何根据EPM默认权限以编程方式获取项目任务在项目服务器2013中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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