Re: Is it possible to use the Windows 2003 user names instead of pre-Windows 2000 user
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > IIS server support > IIS Server Security > Re: Is it possible to use the Windows 2003 user names instead of pre-Windows 2000 user




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

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


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-07-06 12:48 AM

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... 






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 12:30 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register