J
Jeremy S.
I'm writing a Windows Forms app (connecting to SQL Server db) that will need
to enable/disable access to various UI controls based on the particular user
that is currently logged in.
My question:
What are some of the building blocks that I should look to use? E.g., how do
I know who the current user is? Should I create some custom class that has a
"CurrentUserID" property and then at runtime in Form_Load set the UI control
properties based on the value of the property? Is there some less "home
grown" way I should be looking to accomplish this - perhaps some features
built into the Framework?
Thanks!
to enable/disable access to various UI controls based on the particular user
that is currently logged in.
My question:
What are some of the building blocks that I should look to use? E.g., how do
I know who the current user is? Should I create some custom class that has a
"CurrentUserID" property and then at runtime in Form_Load set the UI control
properties based on the value of the property? Is there some less "home
grown" way I should be looking to accomplish this - perhaps some features
built into the Framework?
Thanks!