Question

How do get Login Session for Nutanix Element(Prism)?

  • 3 April 2020
  • 1 reply
  • 811 views

Badge

I want to get login session information like vSphere.

```powerCLI
$SessionManager = Get-View Serviceinstance.Content.SessionManager

$SessionManager.SessionList

```

Can the same be done for Nutanix?


This topic has been closed for comments

1 reply

Userlevel 3
Badge +4

Hi @sakkuntyo  You can use Rest API call

 

GET /users/logged_in_users

 

Please refer the following guide for detail

https://portal.nutanix.com/page/documents/details/?targetId=API-Ref-AOS-v5_17%3AAPI-Ref-AOS-v5_17