def mapIdentityResponse(
        self, primarySubject, secondarySubject, vendorSpecific=None
    ):
        """CNIdentity.mapIdentity(session, subject) → boolean
        https://releases.dataone.org/online/api-
        documentation-v2.0.1/apis/CN_APIs.html#CNIdentity.mapIdentity.

        Args:
          primarySubject:
          secondarySubject:
          vendorSpecific:

        Returns:

        """
        mmp_dict = {
            'primarySubject': primarySubject.toxml('utf-8'),
            'secondarySubject': secondarySubject.toxml('utf-8'),
        }
        return self.POST(['accounts', 'map'], fields=mmp_dict, headers=vendorSpecific)
def mapIdentityResponse ( self , primarySubject , secondarySubject , vendorSpecific = None ) : mmp_dict = { 'primarySubject' : primarySubject . toxml ( 'utf-8' ) , 'secondarySubject' : secondarySubject . toxml ( 'utf-8' ) , } return self . POST ( [ 'accounts' , 'map' ] , fields = mmp_dict , headers = vendorSpecific )
CNIdentity.mapIdentity(session, subject) → boolean
        https://releases.dataone.org/online/api-
        documentation-v2.0.1/apis/CN_APIs.html#CNIdentity.mapIdentity.

        Args:
          primarySubject:
          secondarySubject:
          vendorSpecific:

        Returns: