-
Notifications
You must be signed in to change notification settings - Fork 183
Working with User Accounts
Kunal Varma edited this page Jun 30, 2016
·
6 revisions
Get current authorized user's account.
Example
$account = $dropbox->getCurrentAccount();
//Id
$account->getAccountId();
//Name
$account->getDisplayName();
//Email
$account->getEmail();
//Profile Pic URL
$account->getProfilePhotoUrl();
//Account Type
$account->getAccountType();The getCurrentAccount() method will return an instance of the Account model.
For details & available options see: https://www.dropbox.com/developers/documentation/http/documentation#users-get_account