# NestedGroup

Represents a user group in YouTrack that either has a parent or subgroups.
Extends [UserGroup](api-entity-UserGroup.html)

## Attributes

This table describes attributes of the `NestedGroup` entity.

* To receive an attribute in the response from the server, specify it explicitly in the `fields` request parameter.

* To update an attribute, provide it in the body of a POST request.

|  Field  |  Type  |  Description  |
| --- | --- | --- |
|  id  |  String  |  The database ID of the group. `Read-only`.  |
|  parentGroup  |  [NestedGroup]()  |  The parent group of the user group.  |
|  subGroups  |  [NestedGroup]()  |  The subgroups of the user group.  |
|  ownUsers  |  [User](api-entity-User.html)  |  The users added to the user group directly.  |
|  requireTwoFactorAuthentication  |  Boolean  |  True if the group requires two-factor authentication from its members. Otherwise, false.  |
|  viewers  |      * [User](api-entity-User.html)    * [UserGroup](api-entity-UserGroup.html)    |  The users and groups added to the "Visible to" setting for the user group.  |
|  updaters  |      * [User](api-entity-User.html)    * [UserGroup](api-entity-UserGroup.html)    |  The users and groups added to the "Updatable by" setting for the user group.  |
|  autoJoin  |  Boolean  |  True if users automatically join the group at first login. Otherwise, false.  |
|  autoJoinDomain  |  String  |  Users from this domain automatically join the group at first login. `Can be null`.  |
|  name  |  String  |  The name of the group.  |
|  ringId  |  String  |  ID of the group in Hub. Use this ID for operations in Hub, and for matching groups between YouTrack and Hub. `Read-only`. `Can be null`.  |
|  usersCount  |  Long  |  The number of users in the group. `Read-only`.  |
|  icon  |  String  |  The URL of the group logo. `Read-only`. `Can be null`.  |
|  allUsersGroup  |  Boolean  |  True if this group contains all users, otherwise false. `Read-only`.  |
|  users  |  [Array of Users](api-entity-User.html)  |  All users in this group, including transitive users. `Read-only`.  |

