Getting configured ports of a vlan

What is the api to get the list of configured ports for the particular vlan??
From ports and vlan api i am not getting the full list of configured ports.