Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

UserSyncSettings enumeration

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)

[SerializableAttribute]
[FlagsAttribute]
public enum UserSyncSettings

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

Use Admin.UserSyncSettings.Enabled for the correct value.

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

Use Admin.UserSyncSettings.DisablePWA for the correct value.

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

Use Admin.UserSyncSettings.DisablePWS for the correct value.

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

Use Admin.UserSyncSettings.DisableEmailSync for the correct value.

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

Use Admin.UserSyncSettings.DisableAll for the correct value.

DisableVisbilityProjects
DisableEverything

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.

Show:
© 2015 Microsoft