UserProfileManager Constructor (ServerContext, Boolean, Boolean) (Microsoft.Office.Server.UserProfiles)
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

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

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

Parameters

serverContext

A ServerContext object that represents the server context.

IgnoreUserPrivacy

true to ignore user profile privacy policies; otherwise, false.

backwardCompatible

true if the user profile is backward compatible; otherwise, false.

See Also

Tags :


Page view tracker