I tried this, but can't get it to build and can't find example anywhere.
client = DropboxClientsManager.authorizedClient
let dropbox_account_name = client!.users.GetCurrentAccount().getAccountId()
BACKGROUND...
My Swift app uses DX API to connect to our Dropbox account and reads and writes files just fine.
Now we want to read what dropbox account name the user is using.
Using
getCurrentAccount
works like thecreateFolder
example from the SwiftyDropbox SDK. It would look like this: