Actions34
- Account Actions
- Audit Actions
- Certificate Actions
- Key Manager Actions
- Login Messages Actions
- Role Actions
- SSH Actions
Role → Get Many
AI-generatedSummary
Retrieve a list of security roles configured on a NetApp ONTAP cluster.
Inputs
- clusterHost (required) — The hostname or IP address of the ONTAP cluster management LIF.
- clusterPort — HTTPS port for the ONTAP REST API. Defaults to 443.
- filters — Collection of filter options including API filter expressions, Return All toggle, and result Limit.
- options — Additional query options, including a comma-separated list of fields to return.
Output shape
a list of items
Returns an array of security role records from the /security/roles endpoint. When Return All is enabled, automatically paginates through all records.
Examples
Example 1: Fetch all security roles from an ONTAP cluster
Set Cluster Host to "cluster.example.com".
Example 2: Fetch a restricted set of fields for up to 10 roles
Set Cluster Host to "cluster.example.com", set Return All to false, set Limit to 10 under Filters, and set Fields to "name,owner" under Options.