Cloud Storage Integrator 2016 Node.js Edition
Cloud Storage Integrator 2016 Node.js Edition
Questions / Feedback?

DriveList Event

Fired for each drive when ListDrives is called.

Syntax

onedrive.on('DriveList', [callback])

Callback

The 'callback' is called when the 'DriveList' event is emited.

function(e){ }

The argument 'e' has the following properties:

e.id
e.driveType
e.ownerId
e.ownerName

Remarks

This event fires for each drive returned when ListDrives is called.

Id is the unique identifier of the drive.

DriveType indicates whether the drive is personal or business. Possible values are:

  • 0 (personal)
  • 1 (business)
  • 2 (documentLibrary)

OwnerId: is the Id of the drive owner.

OwnerName: is the name of the drive owner.

 
 
Copyright (c) 2019 /n software inc. - All rights reserved.
Cloud Storage Integrator 2016 Node.js Edition - Version 16.0 [Build 7239]