public function getCommunityPermissions($communityId, $accessToken)
    {
        if (!$this->apiVersionIsGreaterThanV3()) {
            throw new EndpointNotSupportedByApiVersionException();
        }

        return $this->get(sprintf('communities/%s/permissions', $communityId), [], $accessToken);
    }
public function getCommunityPermissions($communityId, $accessToken)
    {
        if (!$this->apiVersionIsGreaterThanV3()) {
            throw new EndpointNotSupportedByApiVersionException();
        }

        return $this->get(sprintf('communities/%s/permissions', $communityId), [], $accessToken);
    }
public function getCommunityPermissions ( $ communityId , $ accessToken ) { if ( ! $ this -> apiVersionIsGreaterThanV3 ( ) ) { throw new EndpointNotSupportedByApiVersionException ( ) ; } return $ this -> get ( sprintf ( 'communities/%s/permissions' , $ communityId ) , [ ] , $ accessToken ) ; }
Get community permissions

@param string $communityId
@param string $accessToken
@throws EndpointNotSupportedByApiVersionException
@return array|json
Get community permissions