Skip to content

Inconsistent: UserManager.Get.... and UserManager.Get....Async take different arguments #27168

Answered by HaoK
ghost asked this question in General
Discussion options

You must be logged in to vote

They also are used for very different things as well, one is used to extract the user id from an existing principal, i.e. HttpContext.User, while GetUserId is returning the user id from the user poco.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@blowdart
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by blowdart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants