Emmanuel,

Can you confirm that the subdomain was not added as alias to the main
domain?
By doing so, you automatically create a nickname for every user in the
primary domain, giving them an alternate email address in the other domain
name you own.
That would explain why you get all users when retrieving the list for the
subdomain.

Claudio


On Sun, May 8, 2011 at 6:03 PM, Claudio Cherubino <[email protected]>wrote:

> Hi Emmanuel,
>
> Thanks for reporting the behavior of the RetrieveAllDomainUsers method,
> I'll try to troubleshoot the issue as soon as possible to understand whether
> it's due to the client library.
> The latest version of the libraries (1.8) has been released 2 days ago:
>
> http://code.google.com/p/google-gdata/downloads/list
>
> Thanks
> Claudio
>
>
> On Sun, May 8, 2011 at 5:55 PM, Emmanuel Dreux <[email protected]> wrote:
>
>> Hi,
>>
>> using the dotnet API, when I retrieve the list of users belonging to a
>> subdomain, it retrieves all the users attached to the primary domain:
>>
>> private MultiDomainManagementService _service;
>>
>>        internal void Login()
>>         {
>>             GoogleDomain primaryDomain =
>> _settings.GetGooglePrimaryDomain();
>>             _service = new
>> MultiDomainManagementService(primaryDomain.Name,
>> primaryDomain.GoogleApplicationName);
>>             _service.setUserCredentials(primaryDomain.Administrator,
>> primaryDomain.Password);
>>         }
>>
>>        AppsExtendedFeed feed = _service.RetrieveAllDomainUsers(domain);
>>
>> domain is a subdomain, not the primary domain.
>> But RetrieveAllDomainUsers also returns the users of the primary domain.
>> It looks like the name of the domain passed as parameter is not used.
>>
>> It's annoying.
>> I can filter the results to keep only the entries which have the smtp
>> domain of my choice but it has a bad impact on parameters.
>>
>> Can you confirm this problem?
>>
>> Also, do you have an ETA for availability of the next build of the DOTNET
>> libraries?
>> Indeed, you have added the possibility to send a hash of the password
>> instead the plaintext password using the multidomain API.
>> Browsing the source code, I can see that is is implemented but the latest
>> build is still dated from 2010.
>>
>> Thanks.
>>
>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "Google Apps Domain Information and Management 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://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 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