ms::Graph method user list (public)
<instance of ms::Graph> user list [ -select select ] \ [ -filter filter ] [ -max_entries max_entries ] [ -top top ]
Defined in packages/xooauth/tcl/ms-procs.tcl
Retrieve the properties and relationships of user object. For the users collection the default page size is 100, the max page size is 999, if you try $top=1000 you'll get an error for invalid page size. Details: https://docs.microsoft.com/en-us/graph/api/user-list
- Switches:
- -select (optional, defaults to
"displayName,userPrincipalName,id"
)- return selected attributes, e.g. displayName,givenName,postalCode
- -filter (optional)
- restrict answers to a subset, e.g. "startsWith(displayName,'Neumann')"
- -max_entries (optional)
- retrieve this desired number of tuples (potentially multiple API calls)
- -top (optional, integer, accept empty)
- return up this number of tuples per request (page size)
- Testcases:
- No testcase defined.
Source code: set r [:request -method GET -token [:token] -url /users?[:params {select filter top}]] return [:paginated_result_list -max_entries $max_entries $r 200]XQL Not present: Generic, PostgreSQL, Oracle