vtiListWebs

C++: BSTR vtiListWebs(LPCTSTR pszServer, LPCTSTR pszUser, LPCTSTR pszPassword);
VB: vtiListWebs (Server as String, User as String, Password as String) as String

Description

Returns a newline-delimited list of FrontPage webs present on the specified server.

Return Value

Newline-delimited list of FrontPage webs on the specified server.

Parameters

Server is the designation for the web server. It can include a file:// or http:// or https:// prefix. If no prefix is provided, http:// is assumed. If a file path like C:\ is provided, the

file:// prefix is assumed. If you specify a protected web server, then you’ll need to provide the User name and Password. Otherwise they can be left NULL. Examples: “http://www.microsoft.com”, “http://microsoft:8080”.

User is the account name to use to log on to the web site.

Password is the password for the specified User account to log on to the web site.

WARNING: As with any program that contains password information, creating a program that uses vtiListWebs ( ) and specifies a Password string creates a potential security hole unless you can protect against physical access to the executable. This is because the executable can be searched for the user account name and password string parameter used in to the call to vtiListWebs. Therefore, we recommend that you use this function with caution.