IsAnonymous
Boolean function for user conditions that returns True if the user requesting access has logged in as anonymous. Otherwise returns False.
Syntax:
user.IsAnonymous()
Examples and results
Example | Result |
---|---|
Resource filter: Stream_* Conditions: user.IsAnonymous() Action: read | Anonymous users are allowed to read streams. |
Resource filter: Stream_* Conditions: !user.IsAnonymous() Action: read, publish | All users that are not anonymous (notice the NOT operator, !, in front of the condition) are allowed to read and publish streams. Anonymous users will have no access to streams. |