Helo Ferris,

The Google User Profiles API will only return data set by an administrator 
of the domain using the same API. Some information are read-only and 
pre-set by our servers such as the user's Name (fullname, givenname, etc.) 
and primary e-mail address (set to the user's [email protected]).
To retrieve information such as the phone number, an administrator first 
need to set them.

Best,
Alain

On Sunday, June 3, 2012 2:12:25 PM UTC-7, Ferris Argyle wrote:
>
> Claudio,
>
> Thanks for response.
>
> I'm not seeing the phone numbers or the custom field I added in the result 
> (see below).  What am I missing?
> ==========================
>
> <?xml version='1.0' encoding='UTF-8'?>
> <entry xmlns='http://www.w3.org/2005/Atom' xmlns:gContact='
> http://schemas.google.com/contact/2008' xmlns:batch='
> http://schemas.google.com/gdata/batch' xmlns:gd='
> http://schemas.google.com/g/2005' gd:etag='&quot;WBMAQRlfRSt7I2A5&quot;'>
> <id>http://www.google.com/m8/feeds/profiles/domain/.../full/test982</id>
> <updated>2012-06-03T17:56:43.032Z</updated>
> <app:edited xmlns:app='http://www.w3.org/2007/app
> '>2012-06-03T17:56:43.032Z</app:edited>
> <category scheme='http://schemas.google.com/g/2005#kind' term='
> http://schemas.google.com/contact/2008#profile'/>
> <title>Ferris Argyle</title>
> <link rel='http://schemas.google.com/contacts/2008/rel#photo' 
> type='image/*' href='
> https://www.google.com/m8/feeds/photos/profile/.../test982'/>
> <link rel='self' type='application/atom+xml' href='
> https://www.google.com/m8/feeds/profiles/domain/.../full/test982'/>
> <link rel='edit' type='application/atom+xml' href='
> https://www.google.com/m8/feeds/profiles/domain/.../full/test982'/>
> <gd:name>
> <gd:fullName>Ferris Argyle</gd:fullName>
> <gd:givenName>Ferris</gd:givenName>
> <gd:familyName>Argyle</gd:familyName>
> </gd:name>
> <gContact:status indexed='true'/>
> <gd:email rel='http://schemas.google.com/g/2005#other' 
> address='test982@...' primary='true'/>
> </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/-/W6TV5SBeZmoJ.
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