Getting Organization Group Members
This section explains how to get members of the group with the specified identification number.
Request
GET https://<hostname>:4443/v5/Organizations/{organizationId}/Groups/{groupId}/Members |
Request Headers
The request header must contain an authorization token of the current session.
Request Parameters
The following parameters must be posted as URL.
Parameter | Type | Description |
---|---|---|
organizationId | string | An identification number of the Microsoft Office 365 organization. |
groupId | string | An identification number of the group. |
Request Body
None.
Response
The server returns the following response to the client.
Response Codes
A successfully completed operation returns a response code 200 (OK).
Response Headers
The response to this request contains the following headers. The response may also include additional standard HTTPS headers.
Header | Description |
---|---|
Content-length | The length of the response body. |
Content-type | The media type and syntax of the response body message: application/json; charset=utf-8 |
Response Body
Property | Type | Description |
---|---|---|
groupId | string | An identification number of the group to which the account belongs. |
name | string | The account name. |
login | string | The login name. |
type | string | The type of the user account. |
isCloud | string | Specified that the account belongs to the Microsoft Online group, not on-premises. |
_links | Dictionary of string [key] and Object [value] | Links to related resources (navigation property). |
Example
Request: GET https://abc.tech.local:4443/v5/Organizations/6f9b3da3-204d-4a4b-b466-55586e0233fc/Groups/6e570850-9ce9-40ed-b81d-41772dabcead00000000-0000-0000-0000-000000000000/Members
Request Header: Authorization: Bearer <Access-Token>
Response: { "offset": 0, "limit": 30, "results": [ { "groupId": "6e570850-9ce9-40ed-b81d-41772dabcead00000000-0000-0000-0000-000000000000", "name": "tworker3", "login": "tworker3@veeambackupdiv3.onmicrosoft.com", "type": "User", "isCloud": true, "_links": {"organization": {"href": "https://abc.tech.local:4443/v5/organizations/6f9b3da3-204d-4a4b-b466-55586e0233fc"}} }, { "groupId": "6e570850-9ce9-40ed-b81d-41772dabcead00000000-0000-0000-0000-000000000000", "name": "tworker2", "login": "tworker2@veeambackupdiv3.onmicrosoft.com", "type": "User", "isCloud": true, "_links": {"organization": {"href": "https://abc.tech.local:4443/v5/organizations/6f9b3da3-204d-4a4b-b466-55586e0233fc"}} }, { "groupId": "6e570850-9ce9-40ed-b81d-41772dabcead00000000-0000-0000-0000-000000000000", "name": "tworker4", "login": "tworker4@veeambackupdiv3.onmicrosoft.com", "type": "User", "isCloud": true, "_links": {"organization": {"href": "https://abc.tech.local:4443/v5/organizations/6f9b3da3-204d-4a4b-b466-55586e0233fc"}} }, { "groupId": "6e570850-9ce9-40ed-b81d-41772dabcead00000000-0000-0000-0000-000000000000", "name": "tworker1", "login": "tworker1@veeambackupdiv3.onmicrosoft.com", "type": "User", "isCloud": true, "_links": {"organization": {"href": "https://abc.tech.local:4443/v5/organizations/6f9b3da3-204d-4a4b-b466-55586e0233fc"}} } ], "_links": {"self": {"href": "https://abc.tech.local:4443/v5/Organizations/6f9b3da3-204d-4a4b-b466-55586e0233fc/Groups/6e570850-9ce9-40ed-b81d-41772dabcead00000000-0000-0000-0000-000000000000/Members?offset=0&limit=30&setid=9352a3ac-95ee-4b58-9497-bcf74ea9c3fe"}} } |