ms::Graph method user me (public)

 <instance of ms::Graph[i]> 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):
%3

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
[ hide source ] | [ make this the default ]
Show another procedure: