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

How to get current logged in user session of vSphere web client with vim25.

$
0
0

We are using vSphere web client SDK 6.0 (HTML bridge) and trying to retrieve session with com.vmware.vise.usersession.UserSessionService.getUserSession().

for JAVA code you can refer vsphere-wssdk example from vsphere-client-sdk\html-bridge\samples.

After injecting UserSessionService interface in class VmDataProviderImpl, it will return proxy object of UserSessionService and _userSessionService.getUserSession() always returns null.

How will we get current logged in user session of vSphere web client with vim25.

Please advise.


Viewing all articles
Browse latest Browse all 2218

Trending Articles



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