Hey everyone,
I have been told there is a way to get a users login name and their SID in C#, does anybody have code or know a very detailed and easy to understand site?
What I am trying to do is this, when a user logs in my application starts, I then need to update a table in PostgreSQL to change the amount of logins they have. But to do that (as there will be many different users) I need the username that logged in, and the SID to search and update.
Can anybody help me out please?
Cheers,
:cool: