The following example shows you how to retrieve single contact or all contacts from specified folder.