ResourceSecurityRules Enumeration
Specifies the dynamic rules for resources 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 ResourceSecurityRules
'Usage
Dim instance As ResourceSecurityRules
public enum ResourceSecurityRules
Members
Member name | Description | |
---|---|---|
AllCurrentAndFuture | Value=0. The category applies to all current and future enterprise resources. | |
Listed | Value=1. Applies only to the resources indicated in the list. | |
CurrentUser | Value=2. The resource is the current user. | |
InProjectsManagedByUser | Value=3. Resources are members of a project team on a project owned by the user. | |
ManagedByUser | Value=4 Resources are descendants of the user via the resource breakdown structure (RBS). | |
ManagedDirectlyByUser | Value=5. Resources are direct descendants of the user via the RBS. | |
SameRbsNodeAsUser | Value=6. Resources have the same RBS value as the user. |
Remarks
The ResourceSecurityRules type is used to set or compare dynamic rules for resources in security categories. For the resource 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.