Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / C# / February 2008

Tip: Looking for answers? Try searching our database.

userid from domain

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Analizer1 - 31 Jan 2008 23:43 GMT
hi...looking for a example of
How to get the Users suid from a windows domain

thanks
Phil Johnson - 01 Feb 2008 19:25 GMT
Hi, to get the current windows user in c# is

System.Security.Principal.WindowsIdentity.GetCurrent().Name

Which will give you the name of the user running the current thread.

Signature

Regards,

Phillip Johnson (MCSD For .NET)
PJ Software Development
www.pjsoftwaredevelopment.com

> hi...looking for a example of
> How to get the Users suid from a windows domain
>
> thanks
Analizer1 - 03 Feb 2008 14:43 GMT
thanks...
but i have a userid and i need to look up the suid...of that user , Not
necessarly the current user

thanks

> Hi, to get the current windows user in c# is
>
[quoted text clipped - 6 lines]
>>
>> thanks
Analizer1 - 03 Feb 2008 15:25 GMT
I found it...use in directory services...
thanks again

> Hi, to get the current windows user in c# is
>
[quoted text clipped - 6 lines]
>>
>> thanks

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.