Email Settings API - specifying a secondary domain using Java

37 views
Skip to first unread message

pctir

unread,
Nov 3, 2011, 1:46:33 PM11/3/11
to Google Apps Domain Information and Management APIs
Using Email Settings API and Java
In a multi-domain environment, how do I specify a secondary domain
when retrieving or updating a forwarding address?

Gunjan Sharma

unread,
Nov 4, 2011, 1:49:28 AM11/4/11
to google-app...@googlegroups.com
Hello Pctir

Currently the multi-domain is only supported for user Provisioning. In order to retrieve forwarding address of a user in additional domain you will have to authenticate for that domain itself and make calls in usual manner.

Also you can make a feature request in the apps-apis-issues if you want that feature to be included.
You will get the updates on the issue through direct mail, whenever the feature gets included in the API.

Thanks
Gunjan Sharma

pctir

unread,
Nov 4, 2011, 9:28:19 AM11/4/11
to Google Apps Domain Information and Management APIs
Do you mean I would have to create an admin in each secondary domain
and call with those credentials?
I filed a feature request: http://code.google.com/p/gdata-java-client/issues/detail?id=367
BTW this is supported in the Python libraries by allowing the target
user to be passed as a full qualified email address or a simple
username.

On Nov 4, 1:49 am, Gunjan Sharma <gunjansha...@google.com> wrote:
> Hello Pctir
>
> Currently the multi-domain is only supported for user Provisioning. In
> order to retrieve forwarding address of a user in additional domain you
> will have to authenticate for that domain itself and make calls in usual
> manner.
>
> Also you can make a feature request in the apps-apis-issues<http://code.google.com/a/google.com/p/apps-api-issues/issues/list> if

Gunjan Sharma

unread,
Nov 4, 2011, 12:22:30 PM11/4/11
to google-app...@googlegroups.com
Hello Pctir

Yes the current version of the Java Client library requires that.
You are right the Python client library does support that but I said in reference to the Java client library as you asked for.
We will let you know when the support is available in Java client library too.

Thanks
Gunjan Sharma
Reply all
Reply to author
Forward
0 new messages