What are the user status codes?

Discussion in 'aMember Pro v.4' started by aces1up, Jan 5, 2013.

  1. aces1up

    aces1up New Member

    Joined:
    Jan 1, 2013
    Messages:
    3
    Hello,

    I building a script that checks user status from the Amember Database.

    I'm using the am_user table and the Status column.

    Is there a reference somewhere that corresponds to user status
    and the code?

    For example.


    1 = Active

    What are the other codes ? just want to make sure my script handles all
    the status conditions that are available.

    thanks.
  2. aces1up

    aces1up New Member

    Joined:
    Jan 1, 2013
    Messages:
    3
    Nevermind found the values by doing some searches on the Code base.

    If anyone is interested.. Here they are

    const STATUS_PENDING = 0;
    const STATUS_ACTIVE = 1;
    const STATUS_EXPIRED = 2;

Share This Page