See: The PmUser
This object is available for example:
During the authentication
process the entered authentication data of the local or network user is compared with the list of defined users (see the "PmaRoot > Users
The first defined user found, whose definition corresponds with the entered authentication data, will be used in the user permissions evaluation system (see the "Permission
" tab) and the specified data will be used by the PmUser
The private user data:
In events onUserLogonEnd
or in designer's methods
of the PmaPanel
object it is possible to the specific user (PmUser
object) assign and read the assistant data named by the methods PmUser.SetPrivateData
. This is particullary useful for network users, enabling to store the different states for each logged user. This is handy especially for network users, because this way it is possible to save different status for each logged user. Then it is, for example, possible in the Web panel
to have the "UP - Data binding to the property of the logged on user
" data binding linked to GetPrivateData
in order to display in the Pmg
object different values for each user.
Examples of usage the private data:
Setting the private data by the client:
In the onButtonUp
event of the PmgButton
object the "SettingData
" panel designer's method is called with two parameters.
The "SettingData" method has two parameters sId and vVal. The logged-in user entered the value 7 with dt0 identifier into his private data.
Reading the private data by the client:
if (pMe.PmPanel.Methods.GettingData("dt0") == 7)
The "GettingData" panel method has the sId parameter and returns the value.