Admin.UserSyncSettings enumeration

Office 2013 and later

Specifies the user synchronization settings, to help manage Project Server resources.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

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

public enum UserSyncSettings

Member nameDescription
EnabledValue=0. Enable all synchronizations.
DisablePWAValue=1. Disable synchronization with Project Web App.
DisablePWSValue=2. Disable synchronization with project sites.
DisableEmailSyncValue=3. Disable email synchronization.
DisableAllValue=4. Disable all synchronizations.
DisableVisbilityProjectsValue=8. Disable Visibility projects synchronization only.
DisableEverythingValue = 255. Disable everything.

Caution noteCaution

The Microsoft.Office.Project.Server.Library.Admin.UserSyncSettings enumeration contains the correct values; it replaces the WebSvcAdmin.UserSyncSettings enumeration, which has incorrect values.

For example, if your Project Server performance is slowed by too many team members with access to project sites, you can disable access to project sites by using the UpdateUserSyncSetting method with DisablePWS, and then individually manage project site permissions.

In the pub.MSP_WEB_ADMIN table for the Project Web App instance, the WADMIN_USER_SYNC_SETTING column shows the current setting for user synchronization. For more information, see Best practices for managing a large number of resources in Project Server 2010.