How to get NSX users and their permissions from NSX API
search cancel

How to get NSX users and their permissions from NSX API

book

Article ID: 426642

calendar_today

Updated On:

Products

VMware NSX

Issue/Introduction

This article provides information on how to get NSX users and their permissions using NSX API per special request

Environment

VMware NSX

Resolution

1: Get all users:

GET https://nsx-manager/api/v1/node/users

2: Get all users and groups with their roles:

GET https://nsx-manager/api/v1/aaa/role-bindings

or https://nsx-manager/policy/api/v1/aaa/role-bindings

3: Get information about all roles

GET https://nsx-manager/api/v1/aaa/roles

or https://nsx-manager/policy/api/v1/aaa/roles

4: Get role information

GET https://nsx-manager/api/v1/aaa/roles/<role-name>

or https://nsx-manager/policy/api/v1/aaa/roles/<role-name>

Additional Information

NSX-T Data Center REST API
NSX API により NSX ユーザーとその権限を取得する方法