c# - What is the correct way to guess either user is registered or admin in window forms? -


i developed windows application want provide security.

my requirement provide few functionalities user , full access admin.

when 1 entered username , password stored role user in database default.

but how give access admin if logged.

i know if provide 1 drop down while adding details sql database. in dropdown give options either user or admin.

i don't want type. have 2 fields username , password , want give option admin if logged.

note: don't want go database , enter admin details there.

is there option while login change option admin?

thanks suggestions.


Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -