Inactive Account Handling

I need to build in functionality for the web to detect whether the account is inactive or not and to display a message if it is inactive. Has anyone built this in to their website and which methods did you use?

Parents
  • Hi Jason,

    We don't have anything link this but , what I am thinking you will need to do is after they have logged in is to make a call to GetConstituentInfoEx  and check the inactive flag in the ConstiuentHeader data table that is returned.

    Jon

  • Hi Jon -

    I am working on this task too. Am I looking in the right location when checking the inactive flag in the ConstituentHeader? See below. If not, can you please explain what I should be looking for? Thank you!

    <ConstituentHeader diffgr:id="ConstituentHeader1" msdata:rowOrder="0">

      <customer_no>1231093</customer_no>
      <full_name1>matthew cohen</full_name1>
      <full_name2 xml:space="preserve"></full_name2>
      <all_const />
      <create_dt>2011-06-22T17:13:46.857-04:00</create_dt>
      <userid>dbo</userid>
      <on_account>4455.0000</on_account>
      <inactive />
      </ConstituentHeader>
Reply
  • Hi Jon -

    I am working on this task too. Am I looking in the right location when checking the inactive flag in the ConstituentHeader? See below. If not, can you please explain what I should be looking for? Thank you!

    <ConstituentHeader diffgr:id="ConstituentHeader1" msdata:rowOrder="0">

      <customer_no>1231093</customer_no>
      <full_name1>matthew cohen</full_name1>
      <full_name2 xml:space="preserve"></full_name2>
      <all_const />
      <create_dt>2011-06-22T17:13:46.857-04:00</create_dt>
      <userid>dbo</userid>
      <on_account>4455.0000</on_account>
      <inactive />
      </ConstituentHeader>
Children
  • HI Matt,

    Great so you see it working.  Now all you have to do is have code to check that value, this all depneds on where you are using the data. 

     

    Jon

  • Our login page is built using .ASPX. Data is running on MySql Server 2008. I need to figure out what action should be in place for the inactive web call.