Share via


UserProfileConfigManager Class

The UserProfileConfigManager class manages the user profile configuration. The UserProfileConfigManager object is the main entry point to access the user profile administration object model.

System.Object

Public Constructors

The following table shows the constructors of the UserProfileConfigManager class and a brief description of each.

Name Description
UserProfileConfigManage Initializes a new instance of the UserProfileConfigManager class.
UserProfileConfigManager(Microsoft.SharePoint.Portal.PortalContext Initializes a new instance of the UserProfileConfigManager class with the specified portal context.

Public Methods

The following table shows the methods of the UserProfileConfigManager class and a brief description of each.

Name Description
ActivateImport(Boolean) Activates / deactivates the import feature. Use the ActivateImport method to enable or disable the import feature.
GetDataSource Gets the DataSource object.
GetImportStatus Gets the ImportStatus object.
GetProperties Gets the current collection of Property objects.
GetPropertiesWithSection Gets the current collection of Property objects with section.
GetPropertyDataTypes Gets the current collection of PropertyDataType objects
IsImportInProgress Gets a value indicating whether the current import is in progress.
SetDataSource(Options) Sets the DataSource object with options.
StartImport(Boolean) Starts the import.
StopImport Stops the import.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread safe.

Remarks

You must use the UserProfileConfigManager object instead of the UserProfileManager object to manage meta data. The meta data access provided by theUserProfileManager object is meant to be read-only.

Example

The following code example shows the use of the UserProfileConfigManager class.

Requirements

Namespace: Microsoft.SharePoint.Portal.UserProfiles

Platforms: Microsoft Windows Server 2003

Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Security: Code Access Security