Hi
When checking for a users role in my custom authorize tag I am going to need a 3rd value. Like the built in stuff allows for this
"filterContext.HttpContext.User.Identity.Name;"
But this won't work for me since I will have many users with the same name. So I don't think this will help me when I have 10 with the same name and I have to pull up the GUID from them.
When doing my login stuff I use another field to tell the users apart.
So I am wondering can I show that 3rd field in the cookie(or however it does it with User.Identity.Name) and encrypt it with the cookie so it is safe and then do something like
"filterContext.HttpContext.User.Identity.UnquieField;"