How to use Windows.Security.Authentication.OnlineId to get the user id?
-
יום שני 16 אפריל 2012 05:39
I'd like to get a unique ID that corresponds to the currently signed in user. I don't need to access any of the user's info - I just need to correlate data to this particular user.
How are OnlineidAuthenticator and OnlineIdServiceTicketRequest used? What is used for the service string? What is used for the policy string?
- הועבר על-ידי Matt SmallMicrosoft Employee יום רביעי 18 אפריל 2012 16:03 Windows live questions (From:Building Metro style apps with C# or VB )
כל התגובות
-
יום רביעי 18 אפריל 2012 16:03I think this question is better served by the Windows live community.
Matt Small - Microsoft Escalation Engineer - Forum Moderator
-
יום רביעי 18 אפריל 2012 17:06מנחה דיון
When a user signs in to your site, you can pick up their CID (unique identifier) from the "id" field. You can see this if you sign in to the ISDK and run the "Getting user data" code.- הוצע כתשובה על-ידי JOshiroModerator יום רביעי 18 אפריל 2012 23:26
-
יום שישי 20 אפריל 2012 00:13
Not sure if this is related to your subject, but you may want to look at our Single sign-on for apps and websites Help topic.
Paul
Live Connect developer documentation team -
שבת 12 מאי 2012 22:52
Hi
Did you ever get to the bottom of this? I'm in exactly the same position.
None of the documentation tells you how to use the win8-specific api (e.g. OnlineidAuthenticator and OnlineIdServiceTicketRequest)
Cheers