I am writing some code which is intended to get and set a users contact 
sharing state (ie, if their address is automatically shared with other 
users of the domain) as detailed here in a blog post 
http://googleappsdeveloper.blogspot.com.au/2011/08/unshare-domain-users-contact.html
 
and in the developer guide here 
http://code.google.com/googleapps/domain/profiles/developers_guide.html

However, the relevant entry is not being returned from the API, that is 
there is no <gcontact:status indexed="true"/> entry.

Here is, for example, the XML returned when looking up my test account 
(with some information changed for context)

<?xml version="1.0" ?>
<entry gd:etag=""#removed#"" xmlns="http://www.w3.org/2005/Atom"; 
xmlns:batch="http://schemas.google.com/gdata/batch"; 
xmlns:gContact="http://schemas.google.com/contact/2008"; 
xmlns:gd="http://schemas.google.com/g/2005";>
  <id>
    
http://www.google.com/m8/feeds/profiles/domain/ga-staff-dev.monash.edu/full/user.address
  </id>
  <updated>
    2012-03-06T00:23:35.100Z
  </updated>
  <app:edited xmlns:app="http://www.w3.org/2007/app";>
    2012-03-06T00:23:35.100Z
  </app:edited>
  <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#profile"/>
  <title>
    User Name
  </title>
  <link 
href="https://www.google.com/m8/feeds/profiles/domain/ga-staff-dev.monash.edu/full/user.address?xoauth_requestor_id=admin_acco...@ga-staff-dev.monash.edu";
 
rel="self" type="application/atom+xml"/>
  <link 
href="https://www.google.com/m8/feeds/profiles/domain/ga-staff-dev.monash.edu/full/user.address?xoauth_requestor_id=admin_acco...@ga-staff-dev.monash.edu";
 
rel="edit" type="application/atom+xml"/>
  <gd:email address="[email protected]" primary="true" 
rel="http://schemas.google.com/g/2005#other"/>
</entry>

Why is the entry for gcontact:status indexed not present?  We are using the 
Educational edition.

Thanks,

-- 
You received this message because you are subscribed to the Google
Groups "Google Contacts, Shared Contacts and User Profiles APIs" group.
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://code.google.com/apis/contacts/community/forum.html

Reply via email to