Specify group member "type" when creating a new group member

34 views
Skip to first unread message

bitsof info

unread,
Aug 29, 2011, 6:56:04 PM8/29/11
to google-app...@googlegroups.com
Hi,
Is there any way to specify the "memberType" when creating a new "group" in our google apps domain via the group provisioning api? We can get a "memberType" when we retrieve groups but not specify on create. Our source system that is pumping data into google supports "groups within groups" so sometimes we are adding "groups" to google groups and we need to specify this on create so we get that back on a retrive of the group members.

thanks

Alexandre Jacquet

unread,
Aug 29, 2011, 7:02:38 PM8/29/11
to google-app...@googlegroups.com
What do you mean with memberType? If the user is owner or member? or the group settings?



                                                                                           

Alexandre Jacquet

Google Apps Deployment Specialst 
São Paulo | SP | Brasil
Tel.: 55 11 8064 6882






--
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/-/G41CE-nLIFoJ.
To post to this group, send email to google-app...@googlegroups.com.
To unsubscribe from this group, send email to google-apps-mgmt...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-apps-mgmt-apis?hl=en.

bitsof info

unread,
Aug 29, 2011, 8:06:11 PM8/29/11
to google-app...@googlegroups.com
When you call retrieveAllMembers() you get a feed of members. Each member entry in the feed has a few props.  "memberId" and "memberType" are a few of them. I want to know how you can specify the memberType when creating a group member 

Shraddha Gupta

unread,
Aug 29, 2011, 9:36:22 PM8/29/11
to google-app...@googlegroups.com
Hello,

MemberType is automatically set when u add the member to the group. 
When you add a group to a Group, its memberType is automatically set as "Group" and when you add user to Group, its memberType is set as "User" . 
So you cannot set the memberType, as original memberType is itself set.

Shraddha.
--
Shraddha Gupta
Developer Programs Engineer,
Google, Hyderabad.

bitsof info

unread,
Aug 29, 2011, 9:57:50 PM8/29/11
to google-app...@googlegroups.com
I guess thats my point, as when adding via the REST API from some external client, there is no way to specify if the "groupid" is a user or a group, if the groupid is some other email not within the google apps account. It would be nice if this were possible to specify an memberType or arbitrary type

Shraddha Gupta

unread,
Aug 30, 2011, 5:43:46 PM8/30/11
to google-app...@googlegroups.com
Hi bitfinfo,

Specification of memberType is not supported by the current API, so for now there is no way you can specify memberType for groups not in your google apps account.
If you would like that feature to be inserted in the API, you can make a feature request in the apps-api issues site at http://code.google.com/a/google.com/p/apps-api-issues/issues/list.

Reply all
Reply to author
Forward
0 new messages