asp.net mvc 4 - how to get user info in Forms Authentication Across Applications? -
i have application on main domain user can login domain , authenticate across sub domain use form authentication , works fine.
but not know how retrieve users information on sub domain . must have user id or somethings use retrieve user information sql server.
how can handle scenario , transfer useful information use on sub domains retrieve user information?
my application on mvc4 razor , .net 4.5.
if user can authenticate across of subdomains, , leveraging forms authentication, can username in subdomains same way can in main domain:
httpcontext.current.user.identity.name
Comments
Post a Comment