JLinkedinGroups::getMemberships
Method to find the groups a member belongs to.
Signature
public function getMemberships([string
$id = null,
[string
$fields = null,
[integer
$start = 0,
[integer
$count = 5,
[string
$membership_state = null]]]]] )
Parameters
-
$id
- The unique identifier for a user.
-
$fields
- Request fields beyond the default ones.
-
$start
- Starting location within the result set for paginated returns.
-
$count
- The number of results returned.
-
$membership_state
- The state of the caller’s membership to the specified group.
Returns
- array
- The decoded JSON response