List whom I may request for
list_request_targetsList the people you may request roles for under midPoint rules—yourself, members of orgs you manage, or rule-named users—plus the rules allowing it; use each result as forUser or userOid.
Instructions
List the people the caller may request roles for, according to midPoint's request rules for the caller (the #assign authorizations of their roles, read by the server's account): themselves, the people in orgs they manage, or whoever a rule names, each with the rules that allow it. Pass one as forUser to list_requestable_roles and as userOid to request_role. When the rules can't be read, only the caller is listed. midPoint still decides on submit. When you write to a person, name people, roles and requests by their display names rather than OIDs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | maximum results, default 20, max 100 | |
| query | No | case-insensitive substring of the person's name or full name; at most 100 characters |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | Yes | the tool that produced this result | |
| count | Yes | ||
| query | No | ||
| acting | Yes | who midPoint executed this call as | |
| people | Yes | ||
| server | Yes | write gate, features and versions of this server | |
| preview | Yes | how the people were chosen: from midPoint's request rules for the caller (basis rules), or the caller alone | |
| limitReached | Yes |