What does [Authorize(Users = “*”)] mean in asp.net mvc?

To authorize all users, just omit using the Authorize attribute alltogether. To authorize authenticated users, use the Authorize attribute. To authorize specific roles or users, that is when you'll have Authorize (Users = "someuser") or Authorize (Roles = "somerole") .

Looking at the documentation for the attribute it doesn't look like you can use it that way. By default the AuthorizeAttribute only allows access to authenticated and authorised users so passing * (all) or? (guest) doesn't make sense.

The Users property is used to further restrict the list of authenticated users who can access the Action method along with the Roles property which can also be used to further filter any authenticated access.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions