Removes the password for a given server and user name. If no password exists, this method has no effect.

Parameter

Description

server

Server from which the password for the specified user is removed. Can be an ESX/ESXi or vCenter Server system.

username

User name for which the associated password is removed.

Returns 1 if the password existed and was successfully removed. Otherwise, returns zero.