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)
| Member name | Description | |
|---|---|---|
| Enabled | Value=1 (incorrect). Enable all synchronizations. The correct value = 0. NoteUse Admin.UserSyncSettings.Enabled for the correct value. | |
| DisablePWA | Value=2 (incorrect). Disable synchronization with Project Web App. The correct value = 1. NoteUse Admin.UserSyncSettings.DisablePWA for the correct value. | |
| DisablePWS | Value=4 (incorrect). Disable synchronization with project sites. The correct value = 2. NoteUse Admin.UserSyncSettings.DisablePWS for the correct value. | |
| DisableEmailSync | Value=8 (incorrect). Disable email synchronization. The correct value = 3. NoteUse Admin.UserSyncSettings.DisableEmailSync for the correct value. | |
| DisableAll | Value=16 (incorrect). Disable all synchronizations. The correct value = 4. NoteUse Admin.UserSyncSettings.DisableAll for the correct value. | |
| DisableVisbilityProjects | ||
| DisableEverything |
Caution |
|---|
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.
Note
Caution