PswRet
PswRet() -> aDadosReads legacy positioned user or group metadata
Overview
Returns an array whose layout depends on the previous position: PswSeek with .T. selects users; .F. selects groups. Internal indexes in customizations do not establish a universal contract. The uninvoked block only obtains array length, without printing potentially sensitive contents. (Sources: refs. 1–1.)
Syntax
PswRet() -> aDadosReturn value
Array depending on user/group context.
Commented example
#Include "Protheus.ch"
User Function Ed605()
// Uninvoked block: requires authorized context and credentials.
Local bRead := {|| Len(PswRet())}
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.
- Historical reference: verify API, permissions and context for the target release. Never log credentials or user arrays.
- Under review: editorial example neither compiled nor run in Protheus. Check includes, release, RDD and context before testing.

Comments
There are no approved comments yet.
Sign in with Google or Microsoft to comment.