ms::Graph method group member list (public)

 <instance of ms::Graph[i]> group member list [ -count count ] \
    [ -filter filter ] [ -search search ] [ -max_entries max_entries ] \
    [ -top top ] group_id

Defined in packages/xooauth/tcl/ms-procs.tcl

Get a list of the group's direct members. A group can have users, organizational contacts, devices, service principals and other groups as members. Currently service principals are not listed as group members due to staged roll-out of service principals on Graph V1.0 endpoint. Details: https://docs.microsoft.com/en-us/graph/api/group-list-members

Switches:
-count (optional)
boolean, retrieves the total count of matching resources
-filter (optional)
retrieve a filtered subset of the tuples
-search (optional)
returns results based on search criteria.
-max_entries (optional)
retrieve this desired number of tuples (potentially multiple API calls)
-top (optional, integer, accept empty)
sets the page size of results
Parameters:
group_id (required)

Testcases:
No testcase defined.
Source code:
set r [:request -method GET -token [:token]  -url /groups/${group_id}/members?[:params {count filter search top}]]
return [:paginated_result_list -max_entries $max_entries $r 200]
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: