User

GET /{tenantID}/users/{upnOrObjectId}

Gets user information from the directory.

Request

  • Base URL
    https://graph.windows.net
  • Auth
    OAuth 2
    Implicithttps://login.microsoftonline.com/common/oauth2/authorize
    Scopesuser_impersonation

Path parameters

upnOrObjectIdstring required

The object ID or principal name of the user for which to get information.

tenantIDstring required

The tenant ID.

Query parameters

api-versionstring required

Client API version.

Response

OK. The operation was successful.

objectIdstring

The object ID.

objectTypestring required

The object type.

deletionTimestampstring date-time nullable

The time at which the directory object was deleted.

Changes

No recorded changes to this operation across all 17 revisions of this API.