|
-
May 12th, 2003, 06:36 PM
#1
Thread Starter
New Member
Determine UserID as member of WinNT usergroup
Someone must have done this before easily.
I need to identify whether a UserID (of Windows 2000) is a member of certain NT usergroup (like SalesManager).
I tried DirectoryEntry and DirectorySearcher in the System.DirectoryServices name spaces, but I cannot get it to work. I also tried WindowsIdentity and WindowsPrincipal.IsInRole but with no correct result. I could not find any sample codes anywhere. Any suggestion????
Helppp ... pleaseeee!.
Appreciate it.
Last edited by qnguyen; May 13th, 2003 at 04:33 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|