private static long?GetUserProfileId(DfareportingService service)
        {
            UserProfileList userProfiles = new GetAllUserProfilesHelper(service).Run();

            if (userProfiles.Items.Count == 0)
            {
                Console.WriteLine("No user profiles found.");
                return(null);
            }
            return(userProfiles.Items[0].ProfileId);
        }
 private static long? GetUserProfileId(DfareportingService service)
 {
     UserProfileList userProfiles = new GetAllUserProfilesHelper(service).Run();
     if (userProfiles.Items.Count == 0)
     {
         Console.WriteLine("No user profiles found.");
         return null;
     }
     return userProfiles.Items[0].ProfileId;
 }