Edward Aymami

Edward Aymami

  • 1.3k
  • 39
  • 1.5k

Need a global variable.

Mar 26 2024 9:01 PM

I have a Multi User application I am converting to C#. Once the user is logged in He may execute different menu options in the application. For each form the user logs into, the first thing I need to do is validate his ability to use that function and at what rights level,

I have a User Object which can be called by the the UserID (integer), but I ma not sure if that can/should be done, Or if there is another way to accomplish that goal.

In other words I need to know what the user ID is, with him logging in only once at the start of the application. 

Any help would be greatly appreciated.

Ed


Answers (1)