Skip to main content
Question

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

  • April 3, 2020
  • 1 reply
  • 867 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
  • 95 replies
  • July 3, 2020

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