Ask a Question related to ASP.NET Security, Design and Development.
-
Steve #1
how to obtain the login id and domain in c#.asp
I am using c#.asp to write an application in which I need to get the login id
and domain of the user and verify his/her privileges to use such functions or
actions. Can someone show me an example code? Thanks a lot.
Steve Guest
-
Login using Domain Login ID
I'd like to get the Domain login ID to use to log into Dreamweaver applications. I'd like to log the user into a Dreamweave application (based on... -
Windows cannot obtain the domain controller name (userenv, id = 1054)
Hi. PDC w2k3 & wXPsp2. i have a problems: 1) Domain is not found with error 1054 by UserEnv in windows xp application log. DNS settings is... -
Login issues (two pc domain)
Hello, Setup = two pcs, one windows 2003 server which is the domain server. 2nd pc is a windxp Pro pc. I changed the password on the account I... -
VERY Slow domain login - need help...
I'm running Server 2003 and all clients log into the domain. Frequently (as in more often than not) it takes over three minutes for the login... -
XP Client login to W2K domain problems
I have a W2K domain server and XP clients. I get an error message on some of the xp machines that there is no trust relationship with the server... -
Joe Kaplan \(MVP - ADSI\) #2
Re: how to obtain the login id and domain in c#.asp
How are you authenticating the user? If you are using Windows
authentication in IIS, the user info will be available in the Context.User
property. You can get the name and domain from the Identity.Name property
and verify Windows group membership with the IsInRole method.
Joe K.
"Steve" <Steve@discussions.microsoft.com> wrote in message
news:49DF3A5C-F815-4DBA-8D72-1C50EC13C5E6@microsoft.com...id> I am using c#.asp to write an application in which I need to get the loginor> and domain of the user and verify his/her privileges to use such functions> actions. Can someone show me an example code? Thanks a lot.
Joe Kaplan \(MVP - ADSI\) Guest



Reply With Quote

