claims.Add(new Claim(ClaimTypes.Role, "Users"));. ClaimsIdentity identity = new ClaimsIdentity(claims,. DefaultAuthenticationTypes.
確定! 回上一頁