Since at least PB version 9 (that's as far back as I can check) PB's Application object has six events, but only four (Close, Idle, Open, & SystemError) are listed in Help documentation. I can find no mention of the ConnectionBegin and ConnectionEnd events, nor can I find any description of the ConnectPrivilege enumerated datatype and the three values (ConnectPrivilege!, ConnectWithAdminPrivilege! & NoConnectPrivilege!) it supports. All six events are accessible in the PowerScript editor. The ConnectPrivilege enumerated datatype is listed in the PB Object Browser.
Can anyone provide some context on how the two "undocumented" events of the Application object can or should be used and how the ConnectPrivilege return value from the ConnectionBegin event should be assigned?