IIS Server Security - Re: Is it possible to use the Windows 2003 user names instead of pre-Windows 2000 user

This is Interesting: Free IT Magazines  
Home > Archive > IIS Server Security > September 2006 > Re: Is it possible to use the Windows 2003 user names instead of pre-Windows 2000 user





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: Is it possible to use the Windows 2003 user names instead of pre-Windows 2000 user
MaURiCe

2006-09-06, 7:48 pm

Thank you for your answer but is there any other option that we can
solve it by changing the settings of IIS...
Moris

Brian Desmond [MVP] wrote:[vbcol=seagreen]
> IIS must be making the translation internally from the UPN to the
> sAMAccountName. It's not hard to get the UPN given the WindowsIdentity
> object that you have at hand, and relying on the UPN for the user's true
> name is bad programming practice IMHO.
>
> My recommendation is to search AD for that user's object in the directory
> and retrieve the first and last name properties or whatever else you need in
> your code.
>
> --
> Thanks,
> Brian Desmond
> Windows Server MVP - Directory Services
>
> www.briandesmond.com
>
>
> "MaURiCe" <mkastro@gmail.com> wrote in message
> news:1157462878.505088.151490@m73g2000cwd.googlegroups.com...

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com