Esempio n. 1
0
 private static void SetUserOrganizationClaims(IUser user, ClaimsBuilder builder)
 {
     foreach (string organizationName in user.Organizations.Select(o => o.Name).Distinct())
     {
         if (organizationName != null)
         {
             builder.AddOrganization(organizationName);
         }
     }
 }