This documentation is archived and is not being maintained.

ProjectSecurityRules Enumeration

Office 2007

Specifies the dynamic rules for projects in security categories.

Namespace:  Microsoft.Office.Project.Server.Library
Assembly:  Microsoft.Office.Project.Server.Library (in Microsoft.Office.Project.Server.Library.dll)

public enum ProjectSecurityRules

Member nameDescription
AllCurrentAndFutureValue=0. The category applies to all current and future projects.
ListedValue=1. The category applies only to the projects listed.
ManagedByUserValue=2. The user is the project owner or the status manager on assignments within that project.
UserAssignedAsTeamMemberValue=3. The user is on the project team.
ManagedByResourcesManagedByUserValue=4. The project owner is a descendant of the user via the RBS.
AssignedToResourcesManagedByUserValue=5. A resource on the project team is a descendant of the user via the resource breakdown structure (RBS).
OwnerAtSameRbsNodeValue=6. The project owner has the same RBS value as the user.

The ProjectSecurityRules type is used to set or compare dynamic rules for projects in security categories. For the project settings options in a security category, see the Add or Edit Category page in Project Web Access.

For an example of how to set dynamic rules when creating a security category, see the CreateCategories PSI method.

Show: