remove_password

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

Parameters

Parameter
Description
server
Server from which the password for the specified user is removed. Can be an ESX/
or
system.
username
User name for which the associated password is removed.

Returns

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