def do_SpnUnregister(po):
 if (not g_createdSPNLast):
  _option_error(po, 'SpnCreate must appear before SpnUnregister')
 SpnRegister(_get_option(po, 'account_name_dn', None), (g_createdSPNLast,), dscon.DS_SPN_DELETE_SPN_OP)
 return g_createdSPNLast

def do_SpnUnregister ( po ) : if ( not g_createdSPNLast ) : _option_error ( po , 'SpnCreate must appear before SpnUnregister' ) SpnRegister ( _get_option ( po , 'account_name_dn' , None ) , ( g_createdSPNLast , ) , dscon . DS_SPN_DELETE_SPN_OP ) return g_createdSPNLast
unregister a previously created service principal name .