MakeWeb Method

See Also         Example         Applies To

Creates a new web from an existing folder. To create a new web without first creating a folder, see the Add method.

Syntax

expression.MakeWeb(UserName, Password)

expression   An expression that returns a WebFolder object.

UserName   Optional String. The logon name of the user. You can use this option to create a default username for the web.

Password   Optional String. The password of the user. You can use this option to create a default password for the web.

Return Type

Void