Search
Plugins > vCenter Server 5.5.3 > VcGuestAuthManager > validateCredentialsInGuest

Method validateCredentialsInGuest(VcVirtualMachine vm, VcGuestAuthentication auth)

Validates the VcGuestAuthentication credentials.

This can be used to check the authentication data, or validate any authetication that has a timeout is still valid. If the authentication is not valid, VcGuestPermissionDenied will be thrown.

Returns

void

Arguments

Name Type Description
vm VcVirtualMachine MoRef of the VM to perform the operation on.
auth VcGuestAuthentication The guest authentication data. See <a href="VcGuestAuthentication.html">VcGuestAuthentication</a>.