I’m getting all property names that were set at some point in the past. Even though right now there are no properties set at all and developer has been restarted several times.
Is this info cached some place between developer restarts? Can I flush the settings?
Edit: OK Found the settings in the properties file - but cant see a way to deleted the properties themselves rather than the setting of the property, in code?
On disk you can also edit the properties file, but do so AFTER shutting down the server/developer, as the properties file is written to disk on shutdown.
On disk you can also edit the properties file, but do so AFTER shutting down the server/developer, as the properties file is written to disk on shutdown.
Paul
Thanks Paul - I got that far with it. But my original target (and not part of this post) was to find a way to list the names of users logged into the solution. I tried addClientInfo and can count the numbers of users but cant find a way to read the ClienInfo in code and therefore get a list of data - that’s when I started experimenting with UserProperties of course and came across this problem.
But the question of how to list user names connected to the solution remains - asked a few folks as SW11 and we didn’t find an answer overall. Is there a way to get this listing from the server?
pbakker:
I don’t think that is currently possible. Maybe the UserManager plugin of Dr. Maison already offers this functionality.
Paul
As mentioned on another thread - we are trying to limit the number of vendors plugins we use to avoid jar conflicts now or down the line (though I know Patrick’s plugins are of the highest order).
It would be nice to have this functionality in Servoy - even just a way to read the ClientInfo in code so we could build a user info string including the username.