In general, you could simply look into tutorials of ASP.NET Core Identity to see how to manage roles. After all, this is just the persistence provider that stores and queries the roles for ASP.NET Core Identity, so it will "just work" in AspNetCore.Identity.DocumentDb ... thus, all you need to know specifically for this provider is documented here: https://github.com/codekoenig/AspNetCore.Identity.DocumentDb#storing-roles
That said, i will extend the sample project of this repository to include the role configuration from the README as soon as I have some free time. And while I'm at it I will also add the UI parts to the MVC app to have a thorough sample as I agree it would be nice to have all that info in one place.
In general, you could simply look into tutorials of ASP.NET Core Identity to see how to manage roles. After all, this is just the persistence provider that stores and queries the roles for ASP.NET Core Identity, so it will "just work" in AspNetCore.Identity.DocumentDb ... thus, all you need to know specifically for this provider is documented here: https://github.com/codekoenig/AspNetCore.Identity.DocumentDb#storing-roles
For role management with ASP.NET Core Identity, you could look into this sample project: https://code.msdn.microsoft.com/ASPNET-Core-MVC-Authenticat-ef5942f5
That said, i will extend the sample project of this repository to include the role configuration from the README as soon as I have some free time. And while I'm at it I will also add the UI parts to the MVC app to have a thorough sample as I agree it would be nice to have all that info in one place.