LoggedUser - property of object Pm
Returns the User
object, that represents the logged user.
LoggedUser As Object
Property access for read only
. In the local application the property returns the currently logged local user (if there is no local user logged, then the compensatory user is returned, that represents the non logged user).
This method is not
functional for Web panels
language (and therefore it is not working in Web panels
). Instead of this, it is possible to use the following for the Web panel:
- Call the user method of the PmPanel
object (see the Methods
page). The user information is not available directly from the client of the Web panel. Calling this method initiates communication with the server, the method is executed on the server, and via the pContext.User
parameter it finds and returns the requested information. Calling this method returns the requested information after communication with the server.
Detects whether there is a logged local user
VBScriptSelect and copy to clipboard
If Pm.IsValid(Pm.LoggedUser.Id) Then