logo SmartSurvey / Scripting Docs
Back to Docs
Built-in Function
useridof[] System

Returns the unique identifier of the currently logged-in field interviewer (FI). Use for FI-specific routing, quota management, or audit conditions.

Returns: Integer — the user ID of the logged-in FI
Examples
expressions
useridof[]=5       -- only execute if FI user ID is 5
useridof[]>=100    -- FI is in the production team (ID 100+)
The ID corresponds to the interviewer's account in the system, not their respondent code.
Use for supervisor-only questions or to route specific FIs to different question versions.
Related