C# Class Box.V2.Managers.BoxSharedItemsManager

Shared items are any files or folders that are represented by a shared link.
Inheritance: BoxResourceManager
Show file Open project: box/box-windows-sdk-v2 Class Usage Examples

Public Methods

Method Description
BoxSharedItemsManager ( IBoxConfig config, IBoxService service, IBoxConverter converter, IAuthRepository auth, string asUser = null, bool suppressNotifications = null ) : Box.V2.Auth

Initializes a new instance of the BoxSharedItemsManager class.

SharedItemsAsync ( string sharedLink, string sharedLinkPassword = null ) : Task

Shared items are any files or folders that are represented by a shared link. Shared items are different from other API resources in that a shared resource doesn’t necessarily have to be in the account of the user accessing it. The actual shared link itself is used along with a normal access token.

Method Details

BoxSharedItemsManager() public method

Initializes a new instance of the BoxSharedItemsManager class.
public BoxSharedItemsManager ( IBoxConfig config, IBoxService service, IBoxConverter converter, IAuthRepository auth, string asUser = null, bool suppressNotifications = null ) : Box.V2.Auth
config IBoxConfig The config object to use
service IBoxService The Box service object
converter IBoxConverter The box converter object to use
auth IAuthRepository The auth repository object to use
asUser string The user ID to set as the 'As-User' header parameter; used to make calls in the context of a user using an admin token
suppressNotifications bool Whether or not to suppress both email and webhook notifications. Typically used for administrative API calls. Your application must have “Manage an Enterprise” scope, and the user making the API calls is a co-admin with the correct "Edit settings for your company" permission.
return Box.V2.Auth

SharedItemsAsync() public method

Shared items are any files or folders that are represented by a shared link. Shared items are different from other API resources in that a shared resource doesn’t necessarily have to be in the account of the user accessing it. The actual shared link itself is used along with a normal access token.
public SharedItemsAsync ( string sharedLink, string sharedLinkPassword = null ) : Task
sharedLink string The shared link for this item.
sharedLinkPassword string The password for the shared link (if required)
return Task