siva nathan

siva nathan

  • 1.4k
  • 645
  • 84.2k

using claim store the userid globally in asp.net core base contoller

Jan 20 2021 11:44 AM
Hi all,
 
 i need a UserId after login my page kept in basecontroller after further use using Claim in asp.net core
 
i have a login controller and basecontroller once i have login my page i will step into Logincontroller after that am storing Userid value in claims this value will be need to kept in basecontroller for further use 
 
how can i achieve this 
 

Answers (1)