Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add memberOf field to /users endpoint #44

Merged
merged 1 commit into from
Jun 7, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 12 additions & 2 deletions api/openapi-spec/v0.0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -792,6 +792,7 @@ paths:
- mail desc
- mailNickname
- mailNickname desc
- memberOf
- mobilePhone
- mobilePhone desc
- officeLocation
Expand Down Expand Up @@ -862,6 +863,7 @@ paths:
- mail
- mailNickname
- mobilePhone
- memberOf
- officeLocation
- onPremisesDistinguishedName
- onPremisesDomainName
Expand Down Expand Up @@ -897,6 +899,7 @@ paths:
- '*'
- drive
- drives
- memberOf
type: string
responses:
'200':
Expand Down Expand Up @@ -982,6 +985,7 @@ paths:
- legalAgeGroupClassification
- mail
- mailNickname
- memberOf
- mobilePhone
- officeLocation
- onPremisesDistinguishedName
Expand Down Expand Up @@ -1018,6 +1022,7 @@ paths:
- '*'
- drive
- drives
- memberOf
type: string
responses:
'200':
Expand Down Expand Up @@ -1270,6 +1275,11 @@ components:
mobilePhone:
type: string
description: The primary cellular telephone number for the user. Returned by default. Read-only for users synced from on-premises directory.
memberOf:
type: array
items:
$ref: '#/components/schemas/group'
description: 'Groups that this group is a member of. HTTP Methods: GET (supported for all groups). Read-only. Nullable. Supports $expand.'
onPremisesDistinguishedName:
type: string
description: Contains the on-premises Active Directory distinguished name or DN. The property is only populated for customers who are synchronizing their on-premises directory to Azure Active Directory via Azure AD Connect. Read-only. Returned only on $select.
Expand Down Expand Up @@ -1769,12 +1779,12 @@ components:
memberOf:
type: array
items:
$ref: '#/components/schemas/directoryObject'
$ref: '#/components/schemas/group'
description: 'Groups that this group is a member of. HTTP Methods: GET (supported for all groups). Read-only. Nullable. Supports $expand.'
members:
type: array
items:
$ref: '#/components/schemas/directoryObject'
$ref: '#/components/schemas/user'
description: 'Users and groups that are members of this group. HTTP Methods: GET (supported for all groups), Nullable. Supports $expand.'
owners:
type: array
Expand Down