Microsoft Project 2010
The official blog of the Microsoft Office product development group. Learn how to manage your work effectively

May, 2007

  • Microsoft Project 2010

    HOW TO: Setting Up RBS Security for Vendor Resources


    This post comes to us from Phil Smail, our Project Server Security Program Manager.  He understands Project Server security better than anyone since he oversees the design of the implementation.  So, Phil wanted to share the solution to a fairly common problem that we experienced internally.  With that, here's Phil.


    I was asked a question recently on an internal distribution list about how a Microsoft Group should handle their Project Server Security. At first the issue didn’t seem too complex but after a face to face meeting it became obvious that there challenges here but thankfully the Project Server security model was able to work around it. I feel it’s worth spending some time to describe the scenario as it may help others who face similar issues.

    Don’t worry, all names are changed to protect the innocent!


    This particular Microsoft group, let’s call them Microsoft Group Foo, has a lot of localization work that occurs through external vendors. It’s up to the internal Microsoft folks to assign those vendors to localization projects. Each Vendor has general work resource that can be assigned to these localization work, for example for Vendor A the resource will be called ‘General Vendor A Resource’. Now this is where things get complicated!

    Each Vendor has a number of users (not assignable resources) in Project Server who are allowed to edit the project if the Vendor’s general resource is assigned to that Project. They should also be able to assign full time Microsoft folks to the Project as required. It’s not a concern for vendors to see what other vendors are working on the same project but vendors shouldn’t be able to see what other, non-related, projects that other Vendor’s are working on. Got that?

    So let’s say we have a User, called Roderick, who is one of the Microsoft Employees. He needs to be able to assign a general resource per vendor to projects. This general resource should be represented by a generic resource with each vendor having their own generic resource. Therefore the Microsoft employee no longer needs to worry about who in the Vendor does the actual work

    Now each Vendor has their generic resources but we need to add in the users for each vendor. Let’s say Vendor A has the user David and Vendor B has the User Heather. We know we have the parent-child relationship between the Vendor users and the Generic Vendor resource. It also makes sense for the Microsoft internal folks to have a parent child relationship with all the Vendors

    Security Design

    The way we would represent in our security system would be by assigning these users/resources  values within the Resource Breakdown Structure (RBS). Both Users and Resources can have RBS values and therefore can all exist in the hierarchy. The RBS is useful as it allows us to use the RBS category rules. These rules allow us to get permissions to Resources and Projects that have some relation with our peer Resources or Resources below us in the RBS. This means we would put the generic Vendor resources below the Vendor users and the Microsoft internal folks above the Vendors in the RBS to allow them the correct permissions on the Resources and Projects

    I figured we could represent the RBS structure as such:

    Now what about the Categories that would need to be associated here?

    First off David and Heather need to be added to a category that gives them Project Manager permissions. The Category rules are more interesting.

    The rules they’d definitely need set are:

    Project permissions: ‘A resource on the project’s Project Team is a descendant of the User via RBS’.

                    This rule would allow them to view all Project’s that the general Vendor Resource had been added to the Project Team.

    Roderick, and all other Microsoft employees within that group should belong to another category which has the ‘Assign Resource’ permission and the following Category Rule:

    Resource permissions: ‘They are descendants of the User via RBS’.

                    This rule would allow them to assign the general Vendor resources to projects

    Now one tricky bit is for the Vendor users, for example David if they become the Project Owner, is how to assign Roderick to a project. The only option would be to create another category which includes David and Heather (and any other users). The would also be given the ‘Assign Resource’ permission. The resources in the category would be the list of Microsoft employees that could be assigned. Unfortunately there’s no way to assign a group as the list of resources so as the list of MS resources changes then this list would need to be manually modified.

    So there you have it. An environment now where vendors can only see the projects that they’re assigned to, the Microsoft folks can assign the Vendor’s to projects and the Vendors can assign Microsoft people to those projects

    Questions and Answers

    Question: The obvious follow up question is how do we take this model further and prevent Vendors from seeing the work that other Vendors are doing on even if they’re on the same Project

    Answer: Unfortunately this functionality is not available in Project Server 2007. The only solution would be to create sub projects for each vendor and aggregate into a master project

    But let’s think about expanding this further. This solution could be used to support full time employees managing contractors who manage sub contractors! Assuming the contractors are longer term vendors and the sub contractors are short term resources it makes sense to make the sub contractors generic resources under the main contractors. This is super cool!

    Question: I have sub contractors who are managed by multiple contractors. How do I cope with that in the RBS

    Answer: Unfortunately the RBS based category rules do not support accessing RBS nodes in different branches. That is something we are hoping to improve in future releases. This is where another category containing those sub contractors resources would make sense

  • Microsoft Project 2010

    SDK Updates


    Jim Corbin informs us that the Project Server 2007: Getting Started with a New Platform for Developers article on MSDN has been updated and includes new information about Project documentation, using datasets in event handlers, and error checking.

    The Project Developer Portal is also updated, to match the recent SDK refresh.  Enjoy!


  • Microsoft Project 2010

    HOWTO: Deploy Project Web Access 2007 ActiveX controls via SMS


    One of our support engineers, Anil Kumar, created the following instructions for using SMS to remotely install these controls.

    If you are implementing Project Server 2007, your users will have to download the ActiveX controls before they can view Project Center and Resource Center.  In order to do this, you have to have the rights to perform the installation.  Many corporations have this capability locked down.  The alternative is to use a tool like SMS to deploy the controls to your user's machines.

    Deploy Active X controls of Project Server 2007 via SMS

    1. Active X controls reside in two .cab files located on your project server site in C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\LAYOUTS\PWA\OBJECTS\1033.
    2. You will need the following two .cab files:
      • (in the 1033 sub folder or other language folders)
    3. Copy the .cab files and extract to a location on your SMS Server.  This is technically called as "Data Source" in SMS
    4. Create a batch file using the following script. For example, you can name the batch file activex.bat
    5.    1:  ================================================================
         3:  CLS
         5:  XCOPY *.* "%windir%\Downloaded Program Files"\ /q /r /h /y
         7:  regsvr32 /s "%windir%\Downloaded Program Files\pj12enuc.dll"
         9:  regsvr32 /s "%windir%\Downloaded Program Files"\pjres12c.dll"
        11:  regsvr32 /s "%windir%\Downloaded Program Files"\PJPrint12.dll"
        13:  regsvr32 /s "%windir%\Downloaded Program Files"\PJTEXTCONV12.dll"
        15:  regsvr32 /s "%windir%\Downloaded Program Files"\PJGRID12.ocx"
        17:  regsvr32 /s "%windir%\Downloaded Program Files"\PJQUERY12.ocx"
        19:  del "%windir%\Downloaded Program Files\" /f /q
        21:  del "%windir%\Downloaded Program Files\" /f /q
        23:  del "%windir%\Downloaded Program Files\activex.bat" /f /q
        25:  EXIT
        27:  =================================================================  
    6. Copy the batch file to the same location as mentioned in Step 3.
    7. Create a "Package" and mention "Data Source" as the location we have extracted the files as in steps 3 in SMS Console.
    8. Expand the "Package" and select "Program" and point the batch file in SMS console.
    9. Create an "Advertisement" and mention the name of the "Package" and "Program" as created in Step 7 in SMS Console.
    10. Run the "Advertisement"
    11. Once you get the message that it is successful, login to PWA of Project Server 2007 and click on "Resource Center" or "Project center" and you should see the data without prompting you to download Active X controls.

    This script is presented as is with no warranty.  Please test in your environment before running broadly.

     UPDATE:  Some of the double quotes were in the wrong place in the example above.  This has been corrected.

Page 1 of 1 (3 items)