SetDefaultPluginAccount Method

This method specifies the default plugin (indexer) account information for administrative access.

Syntax

IBuildServer.SetDefaultPluginAccount(Account, Password)

Parameters

Account

The Domain\Username for the account.

Password

The password for the account.

Example

The following example sets the administrative access to Search1\Admin with the password "SSSearch1".

Option Explicit 
On Error Resume Next

Dim objSearchAdmin, objBuildServer 

Set objSearchAdmin = CreateObject("Search.SearchAdmin.1")
Set objBuildServer = objSearchAdmin.BuildServer

objBuildServer.SetDefaultPluginAccount("Search1\Admin", "SSSearch1") 

'Release objects 
Set objBuildServer = Nothing
Set objSearchAdmin = Nothing 
 

See Also

DefaultPluginAccountName


© 1997-1998 Microsoft Corporation. All rights reserved.