Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: Authentication: NT
 Full name
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

pknaz
Junior Member

USA
117 Posts

Posted - 07 August 2002 :  18:24:59  Show Profile  Visit pknaz's Homepage  Send pknaz an AOL message  Send pknaz an ICQ Message  Send pknaz a Yahoo! Message
How does snitz pull the full name using NT authentication?

Thanks!

Kal Corp
Average Member

USA
878 Posts

Posted - 19 August 2002 :  11:11:49  Show Profile  Visit Kal Corp's Homepage
It gets it from the NT Domain


{VAS}-Kal Corp
VAS Development NetWork - Forums for old Snitz Mods!
Creator of all things {VAS}
Go to Top of Page

DJWillis
Starting Member

United Kingdom
39 Posts

Posted - 20 August 2002 :  05:50:06  Show Profile  Send DJWillis an ICQ Message
pknaz,

As long as your server has ADSI (WinNT 4 with DSClient or Win2000) then try the code below.


Function getFullName()

dim oUser
UserNTLogon = Request.ServerVariables("LOGON_USER")
UserNTLogon = replace(UserNTLogon, "\", "/")
Set oUser=GetObject("WinNT://"+UserNTLogon)
UserNTLogon = oUser.FullName
getFullName = Trim(UserNTLogon)

End Function


It's not quite the same as Snitz (it from my own ADSI libary) but it does the job well enough .

This code does the same job with the NTID passed as a parameter.


Function getFullName1(UserNTLogon)

dim oUser

UserNTLogon = replace(UserNTLogon, "\", "/")
Set oUser=GetObject("WinNT://"+UserNTLogon)
UserNTLogon = oUser.FullName
getFullName1 = Trim(UserNTLogon)

End Function

Regards

John Willis

"You can have any error screen, as long a it's blue"
Go to Top of Page

pknaz
Junior Member

USA
117 Posts

Posted - 22 August 2002 :  16:03:29  Show Profile  Visit pknaz's Homepage  Send pknaz an AOL message  Send pknaz an ICQ Message  Send pknaz a Yahoo! Message
Thanks DJWillis. That helps out alot
Go to Top of Page

waynemr
Starting Member

USA
19 Posts

Posted - 23 August 2002 :  15:11:36  Show Profile
You wouldn't happen to have a full list of feilds that can be queried from the user object in AD would you?

==============================
Snitz n00b but not for long!
==============================
Go to Top of Page

pknaz
Junior Member

USA
117 Posts

Posted - 23 August 2002 :  21:34:46  Show Profile  Visit pknaz's Homepage  Send pknaz an AOL message  Send pknaz an ICQ Message  Send pknaz a Yahoo! Message
I found this site to be very helpful with ADSI
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.15 seconds. Powered By: Snitz Forums 2000 Version 3.4.07