set_account_by_id()
Set Account for API calls
Parameters
Name
Type
Description
Return
Name
Type
Description
Usage
$account = WPCP_ONEDRIVE_API::set_account_by_id('8c9bacda0-d8d8-4b22-b634-7b5281687575');
// Username
$account->get_name();
// Primary emailaddress
$account->get_email();
// Profile image
$account->get_image();
// Kind of account
$account->get_type();
// Storage available & used.
$account->get_storage_info();$account = WPCP_GDRIVE_API::set_account_by_id('201096615285735764133');
// Username
$account->get_name();
// Primary emailaddress
$account->get_email();
// Profile image
$account->get_image();
// Kind of account
$account->get_type();
// Storage available & used.
$account->get_storage_info();Last updated