
## UserCollection class

User collection.



**Inheritance:** [UserCollection](/diagram/python-net/aspose.diagram/usercollection) → 
[Collection](/diagram/python-net/aspose.diagram/collection)



The UserCollection type exposes the following members:

### Properties
| Property | Description |
| :- | :- |
| [count](/diagram/python-net/aspose.diagram/usercollection/count) | Gets the number of elements actually contained in the collection. |



Gets the element at the specified index.
### Indexer
| Name | Description |
| :- | :- |
| [index] |  |


### Methods
| Method | Description |
| :- | :- |
| [get_user(name)](/diagram/python-net/aspose.diagram/usercollection/get_user/#str) | Gets the element at the specified ID. |
| [get_user(id)](/diagram/python-net/aspose.diagram/usercollection/get_user/#int) | Gets the element at the specified ID. |
| [is_exist(index)](/diagram/python-net/aspose.diagram/usercollection/is_exist/#int) | Is exist item in the collection. |
| [clear()](/diagram/python-net/aspose.diagram/usercollection/clear/#) | Removes all elements from collection. |
| [add(item)](/diagram/python-net/aspose.diagram/usercollection/add/#User) | Add the User object in the collection. |
| [remove(item)](/diagram/python-net/aspose.diagram/usercollection/remove/#User) | Remove the User object from the collection. |


### See Also

* module [aspose.diagram](../)
* class [Collection](/diagram/python-net/aspose.diagram/collection)
