Password Property  

Gets and sets the password for the current user.


object.Password [= password ]


The Password property specifies the password used to authenticate the user. If a password is not required by the server, this property is ignored. A server may allow a client to download files without authentication, but it is usually required when uploading files.

The UserName and Password properties are used together to provide credentials to the server that will authenticate the client session. If these properties not set when the connection is established, the session will be anonymous.

Data Type


See Also

UserName Property, Connect Method