Claudio,

Claudio,

thanks for assistance.

Here's what I get back from the User Profiles API...it doesn't include 
default Directory fields such as phone number, nor custom fields I've 
added.  What am I missing?

<?xml version='1.0' encoding='UTF-8'?>
<entry xmlns='http://www.w3.org/2005/Atom' 
xmlns:apps='http://schemas.google.com/apps/2006' 
xmlns:gd='http://schemas.google.com/g/2005'>
<id>https://apps-apis.google.com/a/feeds/fitscorp.com/user/2.0/test982</id>
<updated>1970-01-01T00:00:00.000Z</updated><category 
scheme='http://schemas.google.com/g/2005#kind' 
term='http://schemas.google.com/apps/2006#user'/>
<title type='text'>test982</title>
<link rel='self' type='application/atom+xml' 
href='https://apps-apis.google.com/a/feeds/fitscorp.com/user/2.0/test982'/>
<link rel='edit' type='application/atom+xml' 
href='https://apps-apis.google.com/a/feeds/fitscorp.com/user/2.0/test982'/>
<apps:login userName='test982' suspended='false' ipWhitelisted='false' 
admin='false' changePasswordAtNextLogin='false' agreedToTerms='true'/>
<apps:quota limit='25600'/>
<apps:name familyName='Argyle' givenName='Ferris'/>
<gd:feedLink rel='http://schemas.google.com/apps/2006#user.nicknames' 
href='https://apps-apis.google.com/a/feeds/fitscorp.com/nickname/2.0?username=test982'/>
<gd:feedLink rel='http://schemas.google.com/apps/2006#user.emailLists' 
href='https://apps-apis.google.com/a/feeds/fitscorp.com/emailList/2.0?recipient=test982%40fitscorp.com'/>
</entry>

On Sunday, June 3, 2012 12:50:45 PM UTC-7, Claudio Cherubino wrote:
>
> Hi Ferris,
>
> The User Profiles API returns the same type of information as the Contacts 
> API but for domain users.
>
> Claudio
>
> On Sun, Jun 3, 2012 at 12:40 PM, Ferris Argyle <[email protected]> wrote:
>
>> The 
>> Provisioning<https://developers.google.com/google-apps/provisioning/#retrieving_user_accounts>and
>>  User 
>> Profiles 
>> APIs<https://developers.google.com/google-apps/profiles/#retrieving_single_profile>don't
>>  appear to return information such as phone # and custom fields based 
>> on the docs and my testing;  The Contacts API provides this information for 
>> external contacts only as far as I can see.
>>
>> The closest thing which appears to address this requirement is 
>> GADS<http://support.google.com/a/bin/answer.py?hl=en&answer=1628009>, 
>> but this isn't an API.
>>
>> What is the best way to programmatically access this information?
>>
>> Thanks
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Google Apps Domain Information and Management APIs" group.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msg/google-apps-mgmt-apis/-/a4SYOXxXG54J.
>> To post to this group, send email to 
>> [email protected].
>> To unsubscribe from this group, send email to 
>> [email protected].
>> For more options, visit this group at 
>> http://groups.google.com/group/google-apps-mgmt-apis?hl=en.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Apps Domain Information and Management APIs" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-apps-mgmt-apis/-/9nxPNZ3zFioJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-apps-mgmt-apis?hl=en.

Reply via email to