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)

Syntax

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

Members

Member name Description
Enabled Value=1 (incorrect). Enable all synchronizations. The correct value = 0.

Note

Use Admin.UserSyncSettings.Enabled for the correct value.

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

Note

Use Admin.UserSyncSettings.DisablePWA for the correct value.

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

Note

Use Admin.UserSyncSettings.DisablePWS for the correct value.

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

Note

Use Admin.UserSyncSettings.DisableEmailSync for the correct value.

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

Note

Use Admin.UserSyncSettings.DisableAll for the correct value.

DisableVisbilityProjects
DisableEverything

Remarks

Warning

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.

See also

Reference

WebSvcAdmin namespace