且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

需要在PPM中自动创建资源

更新时间:2023-09-24 22:47:04

假设您只是在谈论资源池,而不是权限,

Assuming you are only talking about resources pool and not permissions,

有几种方法可以实现这一点,但最简单的方法是使用AD同步,创建AD组并将组添加到Project Server安全组/资源池同步,但请注意,它可能不会显示所有资源属性,另一个
选项是手动创建它们,使用Project Pro,在Project pro中打开资源中心,并且几乎可以复制并粘贴但请注意,此方法不会自动分配权限,最后一个是
使用PSI / CSOM开发自定义程序(检查SDK相同) 从excel导入资源并将其添加到资源池子,大声思考,我相信自定义程序也可以用PowerShell编写,或者你可以使用.NET 

There are several ways to achieve this, however the most simplistic would be to use AD Sync, Create an AD group and add the group to the Project Server Security Group / Resource Pool sync, however note it may not bring up all resource attributes, another option would be to create them manually using Project Pro, open the resource center in Project pro and pretty much you can copy and paste the resources however note this method would not assign the permissions automatically, the last would be to develop a custom program using PSI/CSOM(Check SDK for the same) to import resources from excel and add them to the Resource pool, thinking loud, i believe custom program may also be written in PowerShell or you can use .NET 

如果有这个帮助,请告诉我s

Let me know if this helps