ms::Graph method user memberof (public)
<instance of ms::Graph> user memberof [ -count count ] \ [ -filter filter ] [ -orderby orderby ] [ -search search ] \ principal
Defined in packages/xooauth/tcl/ms-procs.tcl
Get groups, directory roles, and administrative units that the user is a direct member of. Details: https://docs.microsoft.com/en-us/graph/api/user-list-memberof
- Switches:
- -count (optional)
- when "true" return just a count
- -filter (optional)
- filter criterion
- -orderby (optional)
- sorting criterion, e.g. displayName
- -search (optional)
- search criterion, e.g. displayName:Video
- Parameters:
- principal (required)
- Testcases:
- No testcase defined.
Source code: set r [:request -method GET -token [:token] -url /users/${principal}/memberOf?[:params { count filter orderby search}]] return [:expect_status_code $r 200]XQL Not present: Generic, PostgreSQL, Oracle