Any plan to expose whether a member is a 'Manager' in the API?
Currently, there is a method to determine if a user is an 'Owner' or
if a 'User' or if a 'Group' but there does not seem to be a method via
API to determine 'Manager'.

On Jan 8, 8:29 am, Shraddha Gupta <[email protected]> wrote:
> Hello laurent,
>
> The entry for a member includes the attributes memberId, memberType,
> directMember.
> If the member is a group, the attribute memberType contains the value
> 'Group', else it is 'User'
>
> The documentation does not show all attributes. Thanks for taking our
> attention to that. We will update that soon.
> Please refer this xml entry returned for a member
>
> <entry>
>     <id>
>
> https://apps-apis.google.com/a/feeds/group/2.0/srkapps.com/trial/memb...
> </id>
>     <updated>2012-01-08T13:22:48.912Z</updated>
>     <link rel='self' type='application/atom+xml'
>     
> href='https://apps-apis.google.com/a/feeds/group/2.0/srkapps.com/trial/memb...>
>     <link rel='edit' type='application/atom+xml'
>     
> href='https://apps-apis.google.com/a/feeds/group/2.0/srkapps.com/trial/memb...>
>     <apps:property name=*'memberType*' value='User' />
>     <apps:property name=*'memberId*' value='[email protected]' />
>     <apps:property name='*directMember*' value='true' />
>   </entry>
>
> So, use the element memberType to know whether the entry is 'User' or a
> 'Group'
>
> Thank you,
> Shraddha Gupta
> Developer Programs Engineer
> Hyderabad, Google India.
>
> On Sun, Jan 8, 2012 at 2:50 AM, laurent kubaski
> <[email protected]>wrote:
>
>
>
>
>
>
>
> > Hi everyone,
>
> > In the Google Apps administration console, I've created a group that
> > contains another group and a user.
>
> > I've tried to retrieve the members of this group using this method:
> >http://code.google.com/intl/fr/googleapps/domain/provisioning_API_v2_...
>
> > (I'm using the Java client library by the way).
>
> > Unfortunately, the returned feed doesn't seem to contain any information
> > that would enable me to distinguish which entry is a user and which one is
> > an group. More precisely, both users and group names are returned in the
> > 'memberId' element of the feed and the 'groupId' element is always empty.
>
> > Did I miss something ?
>
> > --
> > 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/-/V0bXh3-y5lkJ.
> > 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