문제

Is there an API to get the list of all Google groups a user is part of (of course, with his/her permission) and vice versa (given a Google group, get all users part of that group).

도움이 되었습니까?

해결책

The Google Apps Provisioning API lets you retrieve the current memberships for a Google Apps user as well as list all members of a Google Apps Google Group. However, there is no way to do this for consumer (@gmail.com) Google Accounts and regular (@googlegroups.com) Google Groups.

다른 팁

Also it need not be Google Apps Provisioning. They also have gdata Services and retrieve Groups function. For example if you have an user example@domain.com, then you can use RetrieveGroups(String memberId, bool directOnly) where memberId is the email address and directOnly must be set to True. This works sleek.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top