Re: Role based security and Domains
From: jzhu (anonymous_at_discussions.microsoft.com)
Date: 05/20/04
- Next message: Carnacky: "cookie's problem"
- Previous message: John Smith: "Re: Question about redirecting to a "session expired" page..."
- In reply to: Sammy_63: "Re: Role based security and Domains"
- Next in thread: Joe Kaplan \(MVP - ADSI\): "Re: Role based security and Domains"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 20 May 2004 06:26:01 -0700
>From MSDN document on SystemInformation.UserDomainName:
"The name of the user domain. If a local user account exists with the same name as the user name, this property gets the computer name."
You could use PInvoke with Win32 GetUserNameEx API, passing in NameSamCompatible to get a Domain\User.
- Next message: Carnacky: "cookie's problem"
- Previous message: John Smith: "Re: Question about redirecting to a "session expired" page..."
- In reply to: Sammy_63: "Re: Role based security and Domains"
- Next in thread: Joe Kaplan \(MVP - ADSI\): "Re: Role based security and Domains"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]