=ISPUBLICUSER
The =ISPUBLICUSER() function determines whether a formula is being executed by a user who is not logged in (a public user). It returns 1 (true) for public users and 0 (false) for authenticated users. This function is commonly used to tailor content, control visibility, or adjust behavior based on who is viewing a document or process.
Syntax
Section titled “Syntax”=ISPUBLICUSER()How It Works
Section titled “How It Works”-
The function checks the current execution context.
-
If the user is not logged in, the function returns 1.
-
If the user is authenticated, the function returns 0.
Suggested Usage
Section titled “Suggested Usage”=IF(=ISPUBLICUSER(); IfPublicUserShowThis; OtherwiseShowThis)- Displays one value or message for public users and another for logged-in users.
Usage Notes
Section titled “Usage Notes”-
Useful for conditional text, field visibility, or document language.
-
Often combined with IF for branching logic.
-
Formula function names are case sensitive and must be written in ALL CAPS.
Keywords
Section titled “Keywords”ISPUBLICUSER, public user detection, anonymous access, conditional display, workflow security, user context, formula function