UserProfileManager Constructor (ServerContext, Boolean)
Initializes a new instance of the UserProfileManager class using the specified server context and specifies whether to ignore user profile privacy policies.
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 _
)
'Usage
Dim serverContext As ServerContext
Dim IgnoreUserPrivacy As Boolean
Dim instance As New UserProfileManager(serverContext, _
IgnoreUserPrivacy)
public UserProfileManager(
ServerContext serverContext,
bool IgnoreUserPrivacy
)
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.