Java: How do I get user's email with box api v2

530 views Asked by At

I building a java desktop app, It can download and upload files with box.com I've added a few libraries in https://github.com/box/box-java-sdk-v2/tree/master/BoxJavaLibraryV2/libs

It worked, but I need i get user's email to manage account. I can't find example in

github.com/box/box-java-sdk-v2

To get it.

Thank for your reading, i'm so sorry for my bad english.

1

There are 1 answers

0
Murtza Manzur On

You can query a user's email using the Get's User Info API. The user's email will be returned in the JSON response as the value for the key "login".