Here's the setup code (I'm using Powershell since it's usually convenient)
$a1= Add-Type -Path "D:\Google2.1\Google.GData.Client.dll" -passthru
$a2= Add-Type -Path "D:\Google2.1\Google.GData.Apps.dll" -passthru
$a3= Add-Type -Path "D:\Google2.1\Google.GData.Contacts.dll" -passthru
$a4= Add-Type -Path "D:\Google2.1\Google.GData.Extensions.dll" -passthru
$reqSet = New-Object Google.GData.Client.RequestSettings("testApp", $config.admin, $config.password)
$reqSet.AutoPaging = $true
$contReq = New-Object Google.Contacts.ContactsRequest($reqSet)
So, now I try to retrieve contacts:
$contReq.GetContacts()
This works... and gives me my contacts (as a domain super admin). Cool
$contReq.GetContacts("arbitraryuser@mydomain.com")
This gives me an error like
format-default : Execution of request failed: https://www.google.com/m8/feeds/contacts/arbitraryuser@mydomain.com/full
I did get a GDataLoggingRequestFactory factor attached to log the requests as well, and just indicated a 401 error, with no details.