cSenhaCaller password, not persisted by the example.
AdvPL GuidePswName(cSenha) -> lOkChecks a password against a positioned legacy user
Despite its name, the historical reference describes password verification, not reading a user name. A successful PswSeek must establish context first. The block is not invoked and contains no password. Do not expose it as a password-guessing endpoint; current authentication and lockout rules require the environment contract. (Sources: refs. 1–1.)
PswName(cSenha) -> lOkcSenhaCaller password, not persisted by the example.
Verification Boolean in the historical reference.
#Include "Protheus.ch"
User Function Ed603()
// Uninvoked block: requires authorized context and credentials.
Local bRead := {|cSecret| PswName(cSecret)}
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.