Quantcast
Viewing all articles
Browse latest Browse all 6251

vcHostSystem.configManager.userDirectory returns null

Hi All

 

I am trying to search for a local user on a ESXi Host (VcHostSystem), and would have thought to use .retrieveUserGroups() of VcUserDirectory

 

But I am have trouble just getting the VcUserDirectory object

 

Providing a VcHostSystem as input to the below code, just returns "null"

 

var vcUserDirectory = vcHostSystem.configManager.userDirectory
System.log(vcUserDirectory)

 

Any idea on how to get VcUserDirectory of a VcHostSystem?

 

vCenter Server Appliance 5.5.0 (4180647)

ESXi Host 5.5.0 ((3116895)

vRO Appliance 7.1.0 (4262825)

Image may be NSFW.
Clik here to view.

Viewing all articles
Browse latest Browse all 6251

Trending Articles