SetImportAccount(String, String) Method
The SetImportAccount method of the DataSource class sets the account for the import.
Parameters
UserID The identifier of the user.
Password The password for the account.
Exceptions
Exception Type | Condition |
---|---|
UserProfileException | Method failed to set import account |
Remarks
Since the account will be used to import from all defined domain controllers, this account needs permission from all defined domain controllers.
Requirements
Platforms: Microsoft Windows Server 2003
Security: Code Access Security