Hello to All, in our Vcenter, each user has a folder with his name.
i have simple workflow that create new VM from Template.
so when user start the workflow - i get the display name of current user and i want that new VM will be create in his folder (by his name).
for example:
// get the display name of user
var user = Server.getCurrentLdapUser();
displayName - user.displayName
//try to set vm folder:
vcFolder = displayName ????
i dont know how to convert the string to vcFoldet object.