ms::Graph method user me (public)
<instance of ms::Graph> user me [ -select select ] \ [ -token token ]
Defined in packages/xooauth/tcl/ms-procs.tcl
Retrieve the properties and relationships of the current user identified by the token. The "me" request is only valid with delegated authentication flow. Details: https://docs.microsoft.com/en-us/graph/api/user-get
- Switches:
- -select
(optional)- return selected attributes, e.g. displayName,givenName,postalCode
- -token
(optional)- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: if {$token eq ""} { set token [:token] } set r [:request -method GET -token $token -url /me?[:params {select}]] return [:expect_status_code $r 200]XQL Not present: Generic, PostgreSQL, Oracle