get network login name

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

One of my coding partners swears you can capture the network login name so
that we can use it to set security levels. If that can be done how do you do
it. References to articles etc would be helpful
 
You can use System.Security.Principal.WindowsIdentity.GetCurrent()
 
What exactly do you mean with " network login name ", be more specific about
the usage scenario.

Willy.
 
That is the name of the user on the WAN and it also establishes user name on
the local machine.
 
User names are 'possibly' exchanged as a result of an authentication
process, I'm asking what kind of application it is (web based, client
server, other...), not what kind of network it is.
I suppose you want to capture the user name at the server side ( and here I
mean the application running as the server side).

Willy.
 
It is an aspx page that is the front end for a database. The user is logged
in to a WAN and then goes on to the intranet the pages which are run from a
web server on the WAN. If I could get the users Network login name which also
is the local machine user account name we could simply put the users name
into a group and assign permissions. In short it is a web app.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top