Quantcast
Channel: VMware Communities : Discussion List - vRealize Orchestrator
Viewing all articles
Browse latest Browse all 6251

convert string to vcFolder

$
0
0

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.


Viewing all articles
Browse latest Browse all 6251

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>