How to add new claims to claim array using foreach loop in C#?

前端 未结 0 388
悲&欢浪女
悲&欢浪女 2021-02-01 11:43

I want to add new claims to a claim array in a foreach loop. How to do that?

        //userRoles is a list of string contains roles. 
        var userRoles = _rep         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题