CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 Linking user login with Network Login

Print topic Send  topic

Author Message
Brandy
Posted: 04/30/2003, 10:49 AM

Is there a way to use a username and pword from an NT account to login?
Hamilton
Posted: 04/30/2003, 12:52 PM

'Uses NT Authentication
'Example Call: if session("permission") <> "OK" then Response.Redirect "loginfailure.asp"
strUsername=Replace(ucase(Request.ServerVariables("LOGON_USER")) , "\", "/")
set adsUser = getobject("WinNT://" & strUsername)
for each group in adsUser.groups
GrpList = GrpList & lcase(trim(group.name)) & ";"
next
if instr(1, GrpList ,"SecureNTGroupName") then session("permission") = "OK"

Essentially, you can get the NT Login Name, but I don't know about getting the password.

ads = Active Directory Services

Consequently searching the web for "Active Directory Services" + "authentication" may provide more answers.

   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.