Is it possible to add user-defined properties to the My.Application or My.User objects?
I've got some properties defined currently that tell me what environment the app is running in (i.e. "Development", "Testing", "Production", etc.), whether the user is an administrator, etc. It would seem logical to get this info from something like
Dim current = My.Application.EnviornmentName
or
If My.User.IsAdministrator Then ...
instead of having them defined in a separate class as they are now. Is there any way to add my own properties to these objects?