Retrieves the password for a specified server and user name.

Parameter

Description

server

Server for which you want to retrieve the password for the specified user. Can be an ESX/ESXi or vCenter Server system.

username

User for whom you want to retrieve the password.

Returns the password, or undef if no password is found.