Add group membership api

Change-Id: I5b174bba02856ede788dcb51ec9b0d598ea7d0df