Share via


Admin.UserSyncSettings enumeration

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)

Syntax

'Declaration
<FlagsAttribute> _
Public Enumeration UserSyncSettings
'Usage
Dim instance As Admin.UserSyncSettings
[FlagsAttribute]
public enum UserSyncSettings

Members

Member name Description
Enabled Value=0. Enable all synchronizations.
DisablePWA Value=1. Disable synchronization with Project Web App.
DisablePWS Value=2. Disable synchronization with project sites.
DisableEmailSync Value=3. Disable email synchronization.
DisableAll Value=4. Disable all synchronizations.
DisableVisbilityProjects Value=8. Disable Visibility projects synchronization only.
DisableEverything Value = 255. Disable everything.

Remarks

Warning

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.

See also

Reference

Microsoft.Office.Project.Server.Library namespace