Monday 15 June 2015

azure - How to get the user name using a Microsoft user id? -


A Windows Store is working on Javascript application. I have used Microsoft login authentication from the auction as follows.

  client.login ("microsoftaccount") (function (result) {; userId = results.userId; refreshTodoItems (); var message = "You are now logged in as: "+ UserId; var dialogue = new windows.UI.Popups.MessageDialog (message); dialog.showAsync () .done (full);}   

" Microsoft account: c2892313bla. ... "

How do I want to withdraw the related username for that Microsoft account id

When you are logged on, on any server side On the script you can query the user's identity (by the user.getIdentities () function), which will give you an object with an access token, which you can use for authentication providers You can use to talk to. An example of how the user can be received in the post is the name for the MS account (and also to other providers).

No comments:

Post a Comment