in reply to Google Apps API

The author had funny ideas about pod, so its all in one document (http://search.cpan.org/~rsmith/VUser-Google-Apps-0.1.0/lib/VUser/Google/ProvisioningAPI/V2_0.pm), you just have to scroll down
SYNOPSIS my $entry = VUser::Google::ProvisioningAPI::V2_0::UserEntry->new(); $entry->User('foo'); # set the user name to 'foo' $entry->GivenName('Fred'); $entry->FamilyName('Oog'); ACCESSORS User Password isSuspended FamilyName GivenName Email Quota

Replies are listed 'Best First'.
Re^2: Google Apps API
by briannz556 (Beadle) on Oct 14, 2008 at 22:33 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;
        Nope, tried that. Think it has something to do with the fact that $user is XML code from my reading. Further reading made me try:
        ... previous code ... use XML::Simple; use Data::Dumper; my $config = XMLin($user); print Dumper($config);
        but that didn't work.