Quantcast
Channel: VMware Communities : Discussion List - vSphere Client SDK
Viewing all articles
Browse latest Browse all 2218

get current user name on vsphere web client

$
0
0

Hi All,

 

How can we get the current logged in username in vsphere web client. Threads https://communities.vmware.com/message/2297455#2297455 and https://communities.vmware.com/message/2246358#2246358 were useful, but in the threads, code connects to vCenter server, I want to get current logged in user. How can we get UserSession object without calling vimPort.login. Is there any way to get connected vimPort object for currenlty logged in user in vsphere web client.

 

I need to know the name of current logged-in user for custom access privilages to be given in my plugin.

 

Any help will be greatly appreciated.

 

Best Regards,

Sumit Tyagi


Viewing all articles
Browse latest Browse all 2218

Trending Articles



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