nerdexam
Microsoft

MS-600 · Question #12

You are developing a human resources application that will show users where they are in their company's organization chart. You are adding a new feature that will display the name of a user's…

The correct answer is A. GET https://graph.microsoft.com/v1.0/users/{UserPricipalName}/ manager?$select=displayName. Get user's manager. Returns the user or organizational contact assigned as the user's manager. GET /users/{id | userPrincipalName}/manager Only the name of the user's manager should be displayed so we use ?select=displayname To specify a different set of properties to return…

Plan and configure a Microsoft Teams environment

Question

You are developing a human resources application that will show users where they are in their company's organization chart. You are adding a new feature that will display the name of a user's manager inside the application. You need to create a REST query to retrieve the information. The solution must minimize the amount of data retrieved. Which query should you use?

Options

How the community answered

(42 responses)
  • A
    83% (35)
  • B
    10% (4)
  • C
    2% (1)
  • D
    5% (2)

Explanation

Get user's manager. Returns the user or organizational contact assigned as the user's manager. GET /users/{id | userPrincipalName}/manager Only the name of the user's manager should be displayed so we use ?select=displayname To specify a different set of properties to return than the default set provided by the Graph, use the $select query option. The $select option allows for choosing a subset or superset of the default https://developer.microsoft.com/en-us/graph/docs/overview/query_parameters

Topics

#Microsoft Graph API#OData query#$select#manager endpoint

Community Discussion

No community discussion yet for this question.

Full MS-600 Practice