Skip to main content
Question

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

  • Apr 3, 2020 8:12 AM UTC
  • 1 reply
  • 893 views

Forum|alt.badge.img

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 replies.

1 reply

Neel Kotak
Nutanix Employee
Forum|alt.badge.img+4
  • Nutanix Employee
  • Jul 3, 2020 12:23 PM UTC

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