No Domain Support With the CAN-DO Function (-nocandodomain)
- Last Updated: March 30, 2020
- 1 minute read
- OpenEdge
- Version 12.2
- Documentation
The No Domain Support With the CAN-DO Function (-nocandodomain) parameter
forces CAN-DO to treat "@" as a regular character instead
of as a delimiter for the domain in a fully qualified user ID.
| Operating system and syntax | UNIX / Windows |
-nocandodomain
|
||
|---|---|---|---|---|
| Use with | Maximum value | Minimum value | Single-user default | Multi-user default |
| Client Session | — | — | — | — |
By default, the CAN-DO function treats the "@" symbol as
the domain delimiter in a fully qualified user ID. You can use the
-nocandodomain parameter to force CAN-DO to treat the
"@" symbol as a regular character. For example:
- When
-nocandodomainis not in use, the statementCAN-DO("abc","abc@")evaluates toTRUEbecause both strings are interpreted as userabcin the blank domain. - When
-nocandodomainis in use, the statementCAN-DO("abc","abc@")evaluates toFALSE.
You can achieve the same effect within the session by setting the CAN-DO-DOMAIN-SUPPORT attribute on the SECURITY-POLICY handle to FALSE. Similarly,
setting the CAN-DO-DOMAIN-SUPPORT attribute to TRUE will override -nocandodomain. See ABL Reference for more
information.