No, there's not - you'll have to make separate calls.

On Fri, Aug 12, 2011 at 4:46 AM, Dan Lines <[email protected]> wrote:

> When retrieving organization users is also possible to return the user's
> login information? (specifically whether the user is an admin or suspended)
>
> Here is what is returned when retrieving a set of organization users:
>
> <?xml version='1.0' encoding='UTF-8'?>
>
> <feed xmlns:atom='http://www.w3.org/2005/Atom' 
> xmlns:apps='http://schemas.google.com/apps/2006'>
>   <entry>
>     <apps:property name="orgUserEmail" value="[email protected]" />
>     <apps:property name="orgUnitPath" value="new_york/hr" />
>   </entry>
>   <entry>
>    ...
>   </entry>
>    ...
> </feed>
>
> Here is what is returned when retrieving a user (calling 
> service.RetrieveUser(user_name)*):*
>
> <?xml version="1.0" encoding="UTF-8"?>
> <atom:entry 
> <http://code.google.com/googleapps/domain/gdata_provisioning_api_v2.0_reference.html#google_apps_tag_atom:entry>
>  xmlns:atom="http://www.w3.org/2005/Atom";
>   xmlns:apps="http://schemas.google.com/apps/2006";
>   xmlns:gd="http://schemas.google.com/g/2005";>
>     <atom:id 
> <http://code.google.com/googleapps/domain/gdata_provisioning_api_v2.0_reference.html#google_apps_tag_atom:id>>https://apps-apis.google.com/a/feeds/example.com/user/2.0/SusanJones</atom:id>
>     <atom:updated 
> <http://code.google.com/googleapps/domain/gdata_provisioning_api_v2.0_reference.html#google_apps_tag_atom:updated>>1970-01-01T00:00:00.000Z</atom:updated>
>     <atom:category 
> <http://code.google.com/googleapps/domain/gdata_provisioning_api_v2.0_reference.html#google_apps_tag_atom:category>
>  scheme="http://schemas.google.com/g/2005#kind";
>         term="http://schemas.google.com/apps/2006#user"/>
>     <atom:title 
> <http://code.google.com/googleapps/domain/gdata_provisioning_api_v2.0_reference.html#google_apps_tag_atom:title>
>  type="text">SusanJones</atom:title>
>     <atom:link 
> <http://code.google.com/googleapps/domain/gdata_provisioning_api_v2.0_reference.html#google_apps_tag_atom:link>
>  rel="self" type="application/atom+xml"
>         
> href="https://apps-apis.google.com/a/feeds/example.com/user/2.0/SusanJones"/>
>     <atom:link 
> <http://code.google.com/googleapps/domain/gdata_provisioning_api_v2.0_reference.html#google_apps_tag_atom:link>
>  rel="edit" type="application/atom+xml"
>         
> href="https://apps-apis.google.com/a/feeds/example.com/user/2.0/SusanJones"/>*
>     <apps:login 
> <http://code.google.com/googleapps/domain/gdata_provisioning_api_v2.0_reference.html#google_apps_tag_apps:login>
>  userName="SusanJones" suspended="false" admin="false" 
> changePasswordAtNextLogin="false" agreedToTerms="true"/>*
>     <apps:name 
> <http://code.google.com/googleapps/domain/gdata_provisioning_api_v2.0_reference.html#google_apps_tag_apps:name>
>  familyName="Jones" givenName="Susan"/>
>     <gd:feedLink 
> <http://code.google.com/googleapps/domain/gdata_provisioning_api_v2.0_reference.html#google_apps_tag_gd:feedLink>
>  rel="http://schemas.google.com/apps/2006#user.nicknames";
>     
> href="https://apps-apis.google.com/a/feeds/example.com/nickname/2.0?username=Susy-1321"/>
>     <gd:feedLink 
> <http://code.google.com/googleapps/domain/gdata_provisioning_api_v2.0_developers_protocol.html#google_apps_tag_gd:feedLink>
>  rel="http://schemas.google.com/apps/2006#user.groups";
>     
> href="https://apps-apis.google.com/a/feeds//group/2.0/[email protected]"/>
> </atom:entry>
>
> The above information that is in bold is what I would like to also receive 
> when retrieving an organization user.  Otherwise I need to make two calls for 
> all the information needed...one to retrieve the users organization unit and 
> one to retrieve the users login information....
>
> Thanks for checking this post out.
>
> - Dan
>
>  --
> 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/-/S5OOx2UJrmgJ.
> 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