新しいBoxサポートサイトへようこそ。 変更点の詳細はこちらをご確認ください .

How to create an email alias for a JWT app?

回答済み
新規投稿

コメント

1件のコメント

  • 正式なコメント
    Jason

    Hi Anirudh,

    You're pretty close! The field you're looking for is "login", on that current_user object. If you take a look at the type of the object returned by client.user().get(), you'll see

    <class 'boxsdk.object.user.User'>

    So, to print out the actual email address to use for collaboration invitations, you'd want to access the 'login' field with something like

    print(user.login)

    Hope that helps! Please let us know if this works for you. 

    コメントアクション パーマリンク

サインインしてコメントを残してください。