Once you have your Access Token, you can then query the Rest API

Here is an example of me asking for the User Object: (http://msdn.microsoft.com/en-us/library/hh243648.aspx)

 

var microsoftConnectClient = new MicrosoftConnectClient("AccessTokenGoesHere");
dynamic meObject = microsoftConnectClient.Get("me");
var userId = meObject.id;
var userGender = meObject.gender;

Last edited Jul 18, 2011 at 1:15 PM by Jetski5822, version 2

Comments

No comments yet.