Authenticated user name

May 4, 2012 at 1:52 PM

is there a way to get the user name of the user that was just authenticated?

I tried the following, but there seems to be no constant for the current user.


OAuthAccessToken myOAuthAccessToken = myFlickr.OAuthGetAccessToken(myOAuthRequestToken, oauthverifier);

Person myPerson = myFlickr.PeopleGetInfo("me");

Coordinator
May 4, 2012 at 2:03 PM

How about myOAuthAccessToken.Username or myOAuthAccessToken.Fullname perhaps?

And not forgetting myOAuthAccessToken.UserId too.

 

 

May 7, 2012 at 10:02 AM

Thank you!

Didn't expect it to be that easy...