메소드 | 설명 | |
---|---|---|
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 |
리턴 | 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 |
리턴 | Api.Models.Share |
public ListShares ( long objectId, |
||
objectId | long | the object Id |
paging | the pagination request | |
shareScope | when specified with a value of |
|
리턴 | PaginatedResult |
public ShareResourcesImpl ( |
||
smartsheet | the Smartsheet | |
masterResourceType | string | the master resource Type (e.g. "sheets", "workspaces", "reports") |
리턴 | 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. |
리턴 | 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 |
리턴 | Api.Models.Share |