Export (0) Print
Expand All
Expand Minimize

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)

public enum ResourceSecurityRules

Member nameDescription
AllCurrentAndFutureValue=0. The category applies to all current and future enterprise resources.
ListedValue=1. Applies only to the resources indicated in the list.
CurrentUserValue=2. The resource is the current user.
InProjectsManagedByUserValue=3. Resources are members of a project team on a project owned by the user.
ManagedByUserValue=4 Resources are descendants of the user via the resource breakdown structure (RBS).
ManagedDirectlyByUserValue=5. Resources are direct descendants of the user via the RBS.
SameRbsNodeAsUserValue=6. Resources have the same RBS value as the user.

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.

Community Additions

ADD
Show:
© 2014 Microsoft