ProjectSecurityRules Enumeration
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)
Syntax
'Declaration
Public Enumeration ProjectSecurityRules
'Usage
Dim instance As ProjectSecurityRules
public enum ProjectSecurityRules
Members
Member name | Description | |
---|---|---|
AllCurrentAndFuture | Value=0. The category applies to all current and future projects. | |
Listed | Value=1. The category applies only to the projects listed. | |
ManagedByUser | Value=2. The user is the project owner or the status manager on assignments within that project. | |
UserAssignedAsTeamMember | Value=3. The user is on the project team. | |
ManagedByResourcesManagedByUser | Value=4. The project owner is a descendant of the user via the RBS. | |
AssignedToResourcesManagedByUser | Value=5. A resource on the project team is a descendant of the user via the resource breakdown structure (RBS). | |
OwnerAtSameRbsNode | Value=6. The project owner has the same RBS value as the user. |
Remarks
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 App
For an example of how to set dynamic rules when creating a security category, see the CreateCategories PSI method.