nOrdemHistorical search order.
AdvPL GuidePswOrder(nOrdem) -> NilSelects the legacy password index order
The manual lists historical orders 1 ID, 2 user, 3 password and 4 email. Order changes how PswSeek interprets its key. The example only creates a block for ID order; it does not run it. The historical list neither authorizes password searches/disclosure nor guarantees current storage organization. (Sources: refs. 1–1.)
PswOrder(nOrdem) -> NilnOrdemHistorical search order.
Nil in the manual; not a success flag.
#Include "Protheus.ch"
User Function Ed604()
// Uninvoked block: requires authorized context and credentials.
Local bRead := {|| PswOrder(1)}
ConOut(ValType(bRead))
Return NilCreates a block (type B), without querying, authenticating or changing users. Under review: editorial example neither compiled nor run in Protheus. Check includes, release, RDD and context before testing.
© 2026 Usina.BR. All rights reserved. TOTVS, Protheus, Microsiga and their respective logos are trademarks of their owners. AdvPL Guide is independent and uses limited, attributed excerpts justified by educational purposes. See the Terms of Use. Terms of Use
Comments
There are no approved comments yet.
Sign in with Google or Microsoft to comment.