Get local group members
Get the members that are part of a local security group.
HTTP request syntax (URI)
GET <base_URI>/v8/storage/local-groups/{localGroupObjectId}/members
Parameters
Name | Type | Required | Values | Description |
localGroupObjectId | URI_PARAM | Y | string | Object ID of the local group |
Return codes
Code | Data | Description |
200 | localGroupMembers | Local group members retrieved successfully. |
400 | Error Message | Missing or invalid request contents. |
404 | Error Message | Requested resource not found. |
500 | Error message | Error associated with the storage system. |
Any HTTP status code other than 200 indicates that the API did not complete successfully.
Request example
curl -vk -H "X-Api-Key: zrxvSDAv9x.RIP4gkmKarG3beF.or.4Tc2im7oeqYN88C9XPGHxbXC" https://172.17.11.11:8444/v8/storage/local-groups/303a3a3a532d312d352d33322d3535313a3a3a303a3a3a4f49445f24232140255f56/members
Response example
HTTP/1.1 200 OK { "localGroupMembers": [ { "memberId": "532d312d37372d302d313133393a3a3a303a3a3a4f49445f24232140255f56", "name": "Unix user\\1139", "sid": "S-1-77-0-1139" }, { "memberId": "532d312d352d32312d323839303631363837332d323839323838333931312d3738383538303133342d3531323a3a3a303a3a3a4f49445f24232140255f56", "name": "EXAMPLE\\Domain Admins", "sid": "S-1-5-21-2890616873-2892883911-788580134-512" }, { "memberId": "532d312d352d32312d323832393230303237302d323038323135353031302d323432303337313434352d313237353a3a3a303a3a3a4f49445f24232140255f56", "name": "EXAMPLE\\greg", "sid": "S-1-5-21-2829200270-2082155010-2420371445-1275" } ] }