Execution permission
Security Administrator (View Only)
Request line
GET base-URL/v1/objects/user-groups
Response message
- Body
-
{ "data": [ { "userGroupObjectId": "devGroup", "userGroupId": "devGroup", "roleNames": [ "Audit Log Administrator (View & Modify)" ], "resourceGroupIds": [ 1, 2, 3 ], "isBuiltIn": false, "hasAllResourceGroup": false }, { "userGroupObjectId": "adminGroup", "userGroupId": "adminGroup", "roleNames": [ "Audit Log Administrator (View & Modify)", "Security Administrator (View & Modify)", "Storage Administrator (Initial Configuration)", "Storage Administrator (Local Copy)", "Storage Administrator (Performance Management)", "Storage Administrator (Provisioning)", "Storage Administrator (Remote Copy)", "Storage Administrator (System Resource Management)" ], "isBuiltIn": false, "hasAllResourceGroup": true } ] }
Attribute
Type
Description
userGroupObjectId
string
The object ID for a user group ID
An encoded character string is output if the user group ID includes reserved characters defined in RFC3986.
userGroupId
string
The user group ID
roleNames
string[]
The role name assigned to the user group
resourceGroupIds
int[]
The IDs of the resource groups assigned to the user group
isBuiltIn
boolean
Information about whether the user group is a built-in user group.
-
true: A built-in user group.
-
false: A user group created by a user.
hasAllResourceGroup
boolean
Information about whether all the resource groups are assigned to the target.
-
true: All the resource groups are assigned.
-
false: The specified resource groups are assigned.
-
Status codes
For details on the status codes of the request for this operation, see the description on HTTP status codes.
Coding example
curl -v -H "Accept:application/json" -H "Content-Type:application/json" -H "Authorization:Session d7b673af189048468c5af9bcf3bbbb6f" -X GET https://192.0.2.100/ConfigurationManager/v1/objects/user-groups