Beispiel #1
0
        public override void AddUsersToRoles(string[] usernames, string[] roleNames)
        {
            var roles = roleNames.Select(UserRoles.GetRole).Where(r => r != Role.None);

            _UserStorage.AddUsersToRoles(usernames, roles);
        }