project server 2010:使用PSI在项目创建时设置项目所有者 [英] project server 2010: setting the project owner upon project creation using PSI

查看:121
本文介绍了project server 2010:使用PSI在项目创建时设置项目所有者的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要使用CreateProjectFromTemplate方法创建项目,我还需要使用PSI设置这个新创建的项目的项目所有者。我怎样才能做到这一点?您能否请您参考一个示例或告诉我如何使用PSI进行操作?

I need to create projects using the CreateProjectFromTemplate method and I need to set the project owner of this newly created project also using the PSI. How can I do this? Can you please refer me to an example or show me how to do it using PSI?

问候,

谢谢 

Regards,
Thanks 

推荐答案

你好geo_d,

Hi geo_d,

你在SDK中见过吗?

创建声明之后,你可以阅读projectDataset并使用资源的Guid设置
ProjectOwnerID属性。

After creation statement, you can read projectDataset and set ProjectOwnerID Property with Guid of the resource.

如果你没有设置所有者,默认值 是创建项目的用户 - 您在PSI应用程序中创建的用户。

If you don't set Owner, the default value is the user that create the project - the user that you create in your PSI application.

我希望这可以帮助您,

最诚挚的问候

Paolo O。


这篇关于project server 2010:使用PSI在项目创建时设置项目所有者的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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