code: def listDatasetAccessTypes(self, dataset_access_type=""):
          
          if isinstance(dataset_access_type, basestring):
              try:
                  dataset_access_type = str(dataset_access_type)
              except:    
                  dbsExceptionHandler('dbsException-invalid-input', 'dataset_access_type given is not valid : %s' %dataset_access_type)
          else:
              dbsExceptionHandler('dbsException-invalid-input', 'dataset_access_type given is not valid : %s' %dataset_access_type)
          conn = self.dbi.connection()
          try:
              plist = self.datasetAccessType.execute(conn, dataset_access_type.upper())
              result = [{}]
              if plist:
                  t = []
                  for i in plist:
                      for k, v in i.iteritems():
                          t.append(v)
                  result[0]['dataset_access_type'] = t
              return result
          finally:
              if conn:
                  conn.close()
docs: List dataset access types