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
- serverContext
Type: Microsoft.Office.Server.ServerContext
A ServerContext object that represents the server context.
- 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.