code: def read_identity(self, identity_id, query_membership=None, properties=None):
          
          route_values = {}
          if identity_id is not None:
              route_values['identityId'] = self._serialize.url('identity_id', identity_id, 'str')
          query_parameters = {}
          if query_membership is not None:
              query_parameters['queryMembership'] = self._serialize.query('query_membership', query_membership, 'str')
          if properties is not None:
              query_parameters['properties'] = self._serialize.query('properties', properties, 'str')
          response = self._send(http_method='GET',
                                location_id='28010c54-d0c0-4c89-a5b0-1c9e188b9fb7',
                                version='5.0',
                                route_values=route_values,
                                query_parameters=query_parameters)
          return self._deserialize('Identity', response)
docs: ReadIdentity.
          :param str identity_id:
          :param str query_membership:
          :param str properties:
          :rtype: :class:`<Identity> <azure.devops.v5_0.identity.models.Identity>`