Aruba Central Next Gen icon

Aruba Central Next Gen

Consume Aruba Central Next Gen API

Actions408

Roles & Policy → Get All Roles

AI-generated

Overview

This node operation retrieves all roles from the Roles & Policy resource within the Aruba Central Next Gen API. It supports pagination and filtering options to customize the data retrieval, making it useful for managing and auditing roles in network configurations.

Use Case Examples

  1. Fetching all roles with a limit of 100 to review user permissions in a network.
  2. Retrieving roles with detailed information for security auditing.

Properties

Name Meaning
Debug Mode Whether to enable detailed debug logs for troubleshooting.
Domain API domain to interact with, such as monitoring, configuration, interfaces, routing, network services, security, management, or system.
Limit Limit for pagination, specifying the maximum number of roles to retrieve (1-1000).
Offset Offset for pagination, specifying the starting point for retrieving roles.
Additional Fields Optional additional parameters to refine the roles retrieval, including view type, object type, scope ID, persona, detailed flag, and effective flag.

Output

JSON

  • roles - Array of role objects retrieved from the API, containing role details based on the specified parameters.

Dependencies

  • Aruba Central Next Gen API with OAuth2 authentication

Troubleshooting

  • Ensure the OAuth2 API credentials are correctly configured and valid to avoid authentication errors.
  • Check that the domain and resource parameters are correctly set to 'configuration' and 'rolesPolicy' respectively for this operation.
  • Verify pagination parameters (limit and offset) are within allowed ranges to prevent request errors.
  • Enable Debug Mode to get detailed logs for troubleshooting issues during execution.

Discussion