private void SetRolesAndGroups(Guid userId, IEnumerable<string> authenticatedGroups) { List<string> authenticatedGroupList = authenticatedGroups.Where(o => !string.IsNullOrEmpty(o)).ToList(); SetUserGroups(userId, authenticatedGroupList); SetUserRoles(userId, authenticatedGroupList); }