Méthode | Description | |
---|---|---|
DeleteShare ( long objectId, string shareId ) : void |
Delete a share. It mirrors To the following Smartsheet REST API method:
|
|
GetShare ( long objectId, string shareId ) : Api.Models.Share |
Get a Share. It mirrors To the following Smartsheet REST API method:
|
|
ListShares ( long objectId, |
List shares of a given object. It mirrors To the following Smartsheet REST API method:
|
|
ShareResourcesImpl ( |
Constructor. Exceptions: - IllegalArgumentException : if any argument is null or empty string
|
|
ShareTo ( long objectId, IEnumerable |
Shares a Sheet with the specified Users and Groups. It mirrors To the following Smartsheet REST API method:
|
|
UpdateShare ( long objectId, Api.Models.Share share ) : Api.Models.Share |
Updates the access level of a User or Group for the specified Object. It mirrors To the following Smartsheet REST API method:
|
public DeleteShare ( long objectId, string shareId ) : void | ||
objectId | long | the ID of the object To share |
shareId | string | the ID of the user To whome the object is shared |
Résultat | void |
public GetShare ( long objectId, string shareId ) : Api.Models.Share | ||
objectId | long | the ID of the object To share |
shareId | string | the ID of the share instance |
Résultat | Api.Models.Share |
public ListShares ( long objectId, |
||
objectId | long | the object Id |
paging | the pagination request | |
shareScope | when specified with a value of |
|
Résultat | PaginatedResult |
public ShareResourcesImpl ( |
||
smartsheet | the Smartsheet | |
masterResourceType | string | the master resource Type (e.g. "sheets", "workspaces", "reports") |
Résultat | System.Collections.Generic |
public ShareTo ( long objectId, IEnumerable |
||
objectId | long | the Id of the object |
shares | IEnumerable |
the share objects |
sendEmail | bool | (optional): Either true or false to indicate whether or not /// to notify the user by email. Default is false. |
Résultat | IList |
public UpdateShare ( long objectId, Api.Models.Share share ) : Api.Models.Share | ||
objectId | long | the ID of the object To share |
share | Api.Models.Share | the share |
Résultat | Api.Models.Share |