---
title: "Category"
description: "Learn how to declare a category in Identity Manager to group Bundles, Single Roles, and Resource Types, with an XML example and a list of its properties."
sidebar_position: 2
---

A category is a classification of Bundles, [Single Roles or/and [Resource Types](./resourcetype.md). Use it to group multiple roles of the same context.


## Examples
The following example declares a new category called "Shares - Public".
```xml
    <Category Policy="Default" Identifier="Shares - Public" DisplayName_L1="Shares - Public" />
```


## Properties

|Property|Details|
|---|---|
| Description_L1 optional | **Type:** String **Description:** Describe this category in detail. |
| DisplayName_L1 required | **Type:** String **Description:** Display name of the category in language 1 (up to 16). |
| Identifier required | **Type:** String **Description:** Unique identifier of the category. |
| IsCollapsed <span class="optionalAttribute">default value: false</span> | **Type:** Boolean **Description:** Defines if the category must be collapsed by default in the permission list of a resource (View Permissions popup and roles basket). |
| Parent optional | **Type:** Int64 **Description:** Represents the parent category definition. |
| Policy required | **Type:** Int64 **Description:** Identifier of the policy that the category is part of. |
