• system.matchuser() not finding user by real name

    From Nightfox@VERT/DIGDIST to Digital Man on Thu Aug 15 19:08:56 2019
    Hi DM,

    I'm running a Synchronet Windows build from August 1st. With my reader, I forwarded a message in a sub-board to myself on my BBS, and it used my real name for the 'from' header field. With my reader, I try to reply to it, and my reader calls system.matchuser() to get the user number to reply to the appropriate person (in this case, I'm replying to myself, doing some testing). Apparently, system.matchuser() is unable to find the user record with my real name - system.matchuser() is returning 0 with my real name. Is that expected?

    Nightfox

    ---
    � Synchronet � Digital Distortion: digitaldistortionbbs.com
  • From Nightfox@VERT/DIGDIST to Digital Man on Thu Aug 15 19:41:18 2019
    Re: system.matchuser() not finding user by real name
    By: Nightfox to Digital Man on Thu Aug 15 2019 07:08 pm

    I'm running a Synchronet Windows build from August 1st. With my reader, I forwarded a message in a sub-board to myself on my BBS, and it used my real name for the 'from' header field. With my reader, I try to reply to it, and my reader calls system.matchuser() to get the user number to reply to the appropriate person (in this case, I'm replying to myself, doing some testing). Apparently, system.matchuser() is unable to find the user record with my real name - system.matchuser() is returning 0 with my real name. Is that expected?

    Now that I think about it, I suppose that behavior might be expected. It's possible there might be multiple users who happen to have the same real name. I guess I just hadn't noticed (or hadn't remembered) that behavior before.

    Nightfox

    ---
    � Synchronet � Digital Distortion: digitaldistortionbbs.com
  • From Digital Man@VERT to Nightfox on Thu Aug 15 20:05:12 2019
    Re: system.matchuser() not finding user by real name
    By: Nightfox to Digital Man on Thu Aug 15 2019 07:41 pm

    Re: system.matchuser() not finding user by real name
    By: Nightfox to Digital Man on Thu Aug 15 2019 07:08 pm

    I'm running a Synchronet Windows build from August 1st. With my reader, I forwarded a message in a sub-board to myself on my BBS, and it used my real name for the 'from' header field. With my reader, I try to reply to it, and my reader calls system.matchuser() to get the user number to reply to the appropriate person (in this case, I'm replying to myself, doing some testing). Apparently, system.matchuser() is unable to find the user record with my real name - system.matchuser() is returning 0 with my real name. Is that expected?

    Now that I think about it, I suppose that behavior might be expected. It's possible there might be multiple users who happen to have the same real name. I guess I just hadn't noticed (or hadn't remembered) that behavior before.

    Yeah, that's intentional: matchuser() only matches the user's name/alias, not user's real names. If you want to search for real names or other field values in the user base, you can use system.matchuserdata().

    digital man

    Synchronet "Real Fact" #15:
    SBBSecho was introduced (replacing SBBSFIDO) for Synchronet v2 in 1994.
    Norco, CA WX: 80.1�F, 42.0% humidity, 4 mph E wind, 0.00 inches rain/24hrs
    ---
    � Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net