---
title: "Aspose::Email::Mapi::MapiTaskUsers::get_Ownership method"
url: "https://reference.aspose.com/email/cpp/aspose.email.mapi/mapitaskusers/get_ownership/"
product: "Aspose.Email for C++"
description: "Gets the role of the current user relative to the Task object."
---


## get_Ownership {#get_ownership}

Gets the role of the current user relative to the Task object.

**Returns:** MapiTaskOwnership Aspose::Email::Mapi::

```cpp
get_Ownership()
```

