This read-only property is the login name that Search uses to log on to a site.
Syntax
ISiteResriction.AccountName
Remarks
This property returns "Default" if the default account is used.
Example
The following example displays the account name used to access the sites in the restricted site list for the KMSampleCatalog2 catalog definition.
Option Explicit 
On Error Resume Next
Dim objSearchAdmin, objBuildServer, objCatalogs, objCatalog, objSites, objSite, ActName 
Set objSearchAdmin = CreateObject("Search.SearchAdmin.1")
Set objBuildServer = objSearchAdmin.BuildServer
Set objCatalogs = objBuildServer.BuildCatalogs 
Set objCatalog  = objCatalogs("KMSampleCatalog2")
Set objSites    = objCatalog.objSites
For Each objSite in objSites
  Wscript.Echo objSite.Name & " is accessed through the login name: " 
    & ActName 
Next
'Release objects
Set objSite     = Nothing 
Set objSites    = Nothing 
Set objCatalog  = Nothing 
Set objCatalogs = Nothing 
Set objBuildServer = Nothing 
Set objSearchAdmin = Nothing 
 See Also