nOptionAccess option to verify in the release.
AdvPL GuideVerSenha(nOption) -> lAllowedChecks a historical user access option.
The manual describes VerSenha(nOpc) as a logical check of an option enabled for the current user in Configurator. It does not receive a plaintext password. Its example uses 36 for base-date changes, not a universal current-release enumeration. The block takes a caller argument and does not check access without context. (Sources: refs. 1–1.)
VerSenha(nOption) -> lAllowednOptionAccess option to verify in the release.
Logical in the historical manual.
#Include "Protheus.ch"
User Function Ed708()
// Option must come from verified release documentation; block not invoked.
Local bPermission := {|nOption| VerSenha(nOption)}
ConOut(ValType(bPermission))
Return NilCreates block B without validating passwords or granting access. 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.