Select from following answers:- [Authorize(Roles=”client”)]

- [AuthorizeAttribute(Roles=”client”)]
- RoleProvider.GetRolesForUser(“client”)
- All Above
Authorize attribute handles authorization on a controller, where RoleProvider.GetRolesForUser(“client”) gets the list of roles for the user that is passed in as a parameter.
Show Correct Answer
|
Alert Moderator