DefaultAccountName Property

This read-only property specifies the content access name to use when crawling documents on other hosts and sites over the network.

Syntax

IBuildServer.DefaultAccountName

Remarks

This user account must have read access to the hosts and sites on the network.

Example

The following example displays the default content access name.

Option Explicit 
On Error Resume Next

Dim objSearchAdmin, objBuildServer 

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

Wscript.Echo "The default account name is: " & _
  objBuildServer.DefaultAccountName 

...

'Release Objects
Set objBuildServer = Nothing
Set objSearchAdmin = Nothing 
 

See Also

EmailAddress


© 1997-1998 Microsoft Corporation. All rights reserved.