briannz556 has asked for the wisdom of the Perl Monks concerning the following question:

Hi there I'm just starting to use Google Apps API to create/ edit/ retieve account information. However, after all I've read I'm at a loss to fully understand how I can read/print (say) a VUser::Google::ProvisioningAPI::V2_0::UserEntry object. To illustrate:
use strict; use VUser::Google::ProvisioningAPI; my $google = new VUser::Google::ProvisioningAPI($domain, $admin, $pass +word, '2.0'); print "Authentication OK\n" unless not $google->IsAuthenticated(); my $user = $google-> RetrieveUser('BondJ007'); I feel should get the account details for the user BondJ007. If so, ho +w do I print out what has been retrieved?
P.S Authentication OK results from the above code snippet. I'd appreciate any help on this.

Replies are listed 'Best First'.
Re: Google Apps API
by Anonymous Monk on Oct 14, 2008 at 21:05 UTC
      Yep, saw that. But as I read it, this is for creating a new user and their Givenname and Familyname. I want to READ the values for an existing user. Does that make sense?
        ?? accessors :D
        my $user = $google-> RetrieveUser('BondJ007'); print join " ", "Hello", $user->GivenName, $user->FamilyName;