VMware {code} Community
vaibhav87
Enthusiast
Enthusiast
Jump to solution

How to retrieve session id of from web client

Is their any way to retrieve session ID from web client.

Reply
0 Kudos
1 Solution

Accepted Solutions
laurentsd
VMware Employee
VMware Employee
Jump to solution

The UserSession class gives you the unique clientId identifying the client session.

See how UserSession is used in samples/vsphereviews/vsphere-wssdk-provider/src/main/java/com/vmware/samples/wssdkprovider/VmDataProviderImpl.java

View solution in original post

Reply
0 Kudos
3 Replies
laurentsd
VMware Employee
VMware Employee
Jump to solution

Please be more precise.

Reply
0 Kudos
vaibhav87
Enthusiast
Enthusiast
Jump to solution

while we get login to web client their must be some session id web client generated.

can we use that session id in our plugin or we have to create other session ID for the plugin..

laurentsd
VMware Employee
VMware Employee
Jump to solution

The UserSession class gives you the unique clientId identifying the client session.

See how UserSession is used in samples/vsphereviews/vsphere-wssdk-provider/src/main/java/com/vmware/samples/wssdkprovider/VmDataProviderImpl.java

Reply
0 Kudos