B
Babu Mannaravalappil
My Windows application (C#) has a login screen and a user table to
handle user rights and accessibility. This is independant of the OS
level user security. At the time of launching the application, this
login authenticates the user and sets the access rights. What is the
best way to get to this user information (either as a datarow from the
users table or as a user class object) application wide. I have
custom user controls on windows forms that update customer data.
These custom user controls need to know who the current user is. So,
in a .NET windows application how can I keep a custom user class
object or a datarow object globally visible for any module that
requires it?
Any help is highly appreciated.
Babu.
handle user rights and accessibility. This is independant of the OS
level user security. At the time of launching the application, this
login authenticates the user and sets the access rights. What is the
best way to get to this user information (either as a datarow from the
users table or as a user class object) application wide. I have
custom user controls on windows forms that update customer data.
These custom user controls need to know who the current user is. So,
in a .NET windows application how can I keep a custom user class
object or a datarow object globally visible for any module that
requires it?
Any help is highly appreciated.
Babu.