---
title: "GET /api/users/search-usergroup"
method: GET
path: "/api/users/search-usergroup"
tags: ["groupmanagement"]
---

# GET /api/users/search-usergroup

`GET /api/users/search-usergroup`

## Query parameters

- `userGroupName` string

## Response `200`

Success

- GetUserGroupSearchResponse
  - `usergroups` UserGroups[], nullable
    - `partyGroupId` string, nullable
    - `partyGroupName` string, nullable
    - `adminPartyId` string, nullable
    - `status` string, nullable
    - `isDefaultGroup` string, nullable
    - `totalContacts` string, nullable
    - `productGroupName` string, nullable
    - `associatedPGList` ProductGroupListforUG[], nullable
      - `productGroupId` string, nullable
      - `productGroupName` string, nullable
      - `MSSPId` string, nullable
    - `setAsDefaultGroup` string, nullable
    - `renameLink` string, nullable
    - `usersForUserGroup` UsersForUserGroup[], nullable
      - `name` string, nullable
      - `login` string, nullable
      - `email` string, nullable
      - `partyGroupId` string, nullable
      - `contactId` string, nullable
      - `partyId` string, nullable
      - `adminPartyId` string, nullable
      - `lastAccessDate` string, nullable
      - `dtLastAccessDate` string, nullable
      - `lastAccessTime` string, nullable
      - `isReadOnlyAccess` string, nullable
    - `deleteLink` string, nullable
    - `mgeProdGrpPagelink` string, nullable
    - `isReadOnlyAccess` string, nullable
    - `MSSPID` string, nullable
    - `msspScope` string, nullable
    - `scopedMSSPID` string, nullable
    - `orgID` string, nullable
    - `isAffilated` string, nullable
    - `isAutoAffiliated` string, nullable
  - `showCreateUserGrplink` string, nullable
  - `showAddProductGrplink` string, nullable
  - `operationStatus` string, nullable
  - `msgCode` string, nullable
  - `msgId` string, nullable
  - `msgDesc` string, nullable

---

[API](https://skmtc.dev/mysonicwall/apis/restapi-core-v1.md) · [All operations](https://skmtc.dev/mysonicwall/apis/restapi-core-v1/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/mysonicwall/restapi-core-v1/revisions/ddffed195eba/schema)
