Share via


UserProfileManager Constructor (ServerContext, Boolean, Boolean)

Initializes a new instance of the UserProfileManager class using the specified server context, and specifies whether to ignore user profile privacy policies and whether the user profile manager is backward compatible.

Namespace:  Microsoft.Office.Server.UserProfiles
Assembly:  Microsoft.Office.Server (in Microsoft.Office.Server.dll)

Syntax

'Declaration
Public Sub New ( _
    serverContext As ServerContext, _
    IgnoreUserPrivacy As Boolean, _
    backwardCompatible As Boolean _
)
'Usage
Dim serverContext As ServerContext
Dim IgnoreUserPrivacy As Boolean
Dim backwardCompatible As Boolean

Dim instance As New UserProfileManager(serverContext, _
    IgnoreUserPrivacy, backwardCompatible)
public UserProfileManager(
    ServerContext serverContext,
    bool IgnoreUserPrivacy,
    bool backwardCompatible
)

Parameters

  • IgnoreUserPrivacy
    Type: System.Boolean
    true to ignore user profile privacy policies; otherwise, false.
  • backwardCompatible
    Type: System.Boolean
    true if the user profile is backward compatible; otherwise, false.

See Also

Reference

UserProfileManager Class

UserProfileManager Members

UserProfileManager Overload

Microsoft.Office.Server.UserProfiles Namespace