sym.sdk.integrations.onelogin.list_roles(name_filter: Optional[str] = None) List[dict]

Returns a list of all roles in the OneLogin account configured in the current Environment. Roles are represented as dictionaries, whose structure is defined by the OneLogin API.

Details here:

Note that if more than 650 roles exist in the OneLogin account, this call will fail. This is a limitation of the OneLogin API.


name_filter – If provided, only roles whose name contains the given string will be returned.


A list of dictionaries representing OneLogin roles.