# Share Object

> `UiPath.Smartsheet.Activities.ShareObject`

`UiPath.Smartsheet.Activities.ShareObject`

Uses the Smartsheet [Share Sheet](https://smartsheet-platform.github.io/api-docs/?csharp#share-sheet) API to share a sheet or sight.

## How it works

The following steps are an example of how the activity works from design time (i.e., the activity dependencies and input/output properties) to run time.

1. Complete the [Setup](https://docs.uipath.com/activities/other/latest/legacy-integrations/smartsheet-setup) steps.
2. Add the [Smartsheet Application Scope](https://docs.uipath.com/activities/other/latest/legacy-integrations/smartsheet-scope) activity to your project.
3. Add the **Share Object** activity inside the **Smartsheet Application Scope** activity.
4. Create and enter values for the [Input](https://docs.uipath.com/activities/other/latest/legacy-integrations/smartsheet-share-object#share-object) properties.
5. Create and enter values for [Output](https://docs.uipath.com/activities/other/latest/legacy-integrations/smartsheet-share-object#share-object) properties.
6. Create and enter an `ResponseStatus` variable for the [Output](https://docs.uipath.com/activities/other/latest/legacy-integrations/smartsheet-share-object#share-object) property.

## In the Body of the Activity

* **Send Email** - Whether to notify the user by email. Enter a `Boolean` or `Boolean` variable.
* **Access Level** - Access Level of Share. Choose one of the following options: Admin, Editor, Editor Share, Owner, Viewer.
* **Object Type** - The type of object to share. Select one of these options: Sheet, Sight, Report, Workspace.
* **Object Id** - The Id of the object to share. Enter a `Int64` or `Int64` variable.
* **Cc Me** - The id of the report to send. Enter a `boolean` or `boolean` variable.
* **Email** - The individual share recipient's email address. Enter a `String` or `String` variable. Either the Email or Group Id must be specified.
* **Group Id** - The group share recipient's group Id. Enter a `Int64` or `Int64` variable. Either the Email or Group Id must be specified.
* **Message** - The message in the body of the email. Enter a `String` or `String` variable.
* **Subject** - The subject of the email. Enter a `String` or `String` variable.
* **Shares** - The share objects created. Enter a `Share[]` variable.

## Properties

### Common

* **DisplayName** - The display name of the activity. This field supports only `Strings` or `String` variables.

### Misc

* **Private** - If selected, the values of variables and arguments are no longer logged at Verbose level.

### Output

* **ResponseStatus** - The status of the request (success/failure information). Enter a `ResponseStatus` variable.
