Currently, I am working on a project to upload a file to VCSA with root account using this api “makeDirectoryInGuest”, but it is fail to connect. The root cause is my root account is expired. So I want to find a API to check if the account is expired or get root expire information( such as expire date). I find ValidateCredentialsInGuest api can be used to do authority, but it will return the same exception if the password is expired or incorrect password, and I can not distinguish them. Does anyone help to guide which api should I use to get root expired information.
↧