UserSyncSettings enumeration

Office 2013 and later

Specifies the user synchronization settings to help manage Project Server resources. Note: Use Microsoft.Office.Project.Server.Library.Admin.UserSyncSettings instead.

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

Namespace:  WebSvcAdmin
Assembly:  ProjectServerServices (in ProjectServerServices.dll)

public enum UserSyncSettings

Member nameDescription
EnabledValue=1 (incorrect). Enable all synchronizations. The correct value = 0.

Use Admin.UserSyncSettings.Enabled for the correct value.

DisablePWAValue=2 (incorrect). Disable synchronization with Project Web App. The correct value = 1.

Use Admin.UserSyncSettings.DisablePWA for the correct value.

DisablePWSValue=4 (incorrect). Disable synchronization with project sites. The correct value = 2.

Use Admin.UserSyncSettings.DisablePWS for the correct value.

DisableEmailSyncValue=8 (incorrect). Disable email synchronization. The correct value = 3.

Use Admin.UserSyncSettings.DisableEmailSync for the correct value.

DisableAllValue=16 (incorrect). Disable all synchronizations. The correct value = 4.

Use Admin.UserSyncSettings.DisableAll for the correct value.


Caution noteCaution

The Admin.UserSyncSettings enumeration is designed to use a bitwise combination of its member values. However, the enumeration values are incorrect. Use Microsoft.Office.Project.Server.Library.Admin.UserSyncSettings instead.

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 the correct value of Admin.UserSyncSettings.DisablePWS, and then individually manage project site permissions. For more information, see Best practices for managing a large number of resources in Project Server 2010.