How can I get a user's ID?

Posted in General by Teodor Ciripescu Tue Mar 08 2016 15:24:06 GMT+0000 (Coordinated Universal Time)·1·Viewed 2,580 times

Hi!I am trying to get a user's ID in .NET. I read in the documentation that i need to get an access Token but i can't figure out how.Basically, I am giving a user's name in return of it's id. I'm new to this platform and i'd be very grateful if you consider my question.
Bradley Serbus
Mar 8, 2016

Hi Teodor,

If you either create or login a user in the .NET SDK, the user object that is returned will have an id property. A user access token will also be returned, but the SDK has been built to manage tokens for you, so you don't have to worry about it; any subsequent request will automatically use the current user's access token.


Bradley Serbus marked this as solved
Markdown is allowed