UserProfileManager constructor (ServerContext, Boolean, Boolean)
SharePoint 2013
NOTE: This API is now obsolete.
Initializes a new instance of the UserProfileManager class for the specified server context.
Assembly: Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)
[ObsoleteAttribute("ServerContext parameter is obsolete, use SPServiceContext instead.")] public UserProfileManager( ServerContext serverContext, bool IgnoreUserPrivacy, bool backwardCompatible )
Parameters
- serverContext
- Type: Microsoft.Office.Server.ServerContext
..
- IgnoreUserPrivacy
- Type: System.Boolean
When this parameter is true, administrators can load and access complete user records for any user profile objects. When this parameter is true, administrators work as regular users and can load only trimmed profile information based on the user profile’s privacy setting.
- backwardCompatible
- Type: System.Boolean
This value is true by default. If this value is true, all user profile properties are initialized for users who are administrators.