Promotic
WikipediaLinkedInYoutubeTwitterFacebook

LoggedUser - property of object Pm

Description:
The property returns the User object, representing the logged user.
Syntax:
LoggedUser As Object
Calling:
Pm.LoggedUser
Note:
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, representing the non logged user).
 
This property is not functional for Web Panels. Instead of this property, 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.
Example:
Check wheteher there is a locally logged user
If Pm.IsValid(Pm.LoggedUser.Id) Then
  ...
End If
Navigation:
 
- Pm
 
- Abs
- Cos
- E
- Exp
- LN2
- LoggedUser
 
 
- PI
- Pow
- Sin
- Tan
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice