Gistlib Logo

gistlib

other csharp categories

asp.net-core code snippets in csharp

create user claims in csharp
use asp.net core identity to assign the roles to users at the team level, then use [authorize(roles = "admin/editor")] to control access to resources based on a user's role in a specific team. in csharp
using asp.net core identity, create two roles called "admin" and "edit" in csharp

gistlibby LogSnag