Windows User ID

  • Thread starter Thread starter Tom Hoogeboom
  • Start date Start date
T

Tom Hoogeboom

I am writing an application for an intranet. Is there an easy way to find
out the Windows identity of a user sending a request for a report? I would
like to be able to grant and restrict privileges for certain reports based
on the user's Windows logon ID rather than have her/him log on to the
application in a separate process.

I've tried the system.security.principal.windowsidentity route without
success.

Help?
 
Hi,

http://msdn.microsoft.com/library/d.../en-us/dnvbadev/html/usingsysteminfoclass.asp

Ken
-------------------
I am writing an application for an intranet. Is there an easy way to find
out the Windows identity of a user sending a request for a report? I would
like to be able to grant and restrict privileges for certain reports based
on the user's Windows logon ID rather than have her/him log on to the
application in a separate process.

I've tried the system.security.principal.windowsidentity route without
success.

Help?
 

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

Back
Top