Re: I need to know how to test to see if a string value in the 'DOMAIN/somevalue' format is either a NT user's login or a NT security group
From: Joe Kaplan \(MVP - ADSI\) (joseph.e.kaplan_at_removethis.accenture.com)
Date: 03/18/04
- Next message: Joe Kaplan \(MVP - ADSI\): "Re: How to use SecurityAction.RequestMinimum for UnmanagedCode"
- Previous message: Joe Kaplan \(MVP - ADSI\): "Re: Impersonate User"
- In reply to: Williams, James: "I need to know how to test to see if a string value in the 'DOMAIN/somevalue' format is either a NT user's login or a NT security group"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 18 Mar 2004 09:54:33 -0600
If they are AD objects, you can do a lookup via LDAP to determine this using
System.DirectoryServices. Otherwise, you might use S.DS and the WinNT
provider to look up a local machine or NT4 domain or group.
Also, the Windows API calls already suggested may work.
Joe K.
"Williams, James" <jwilliams@paymetric.com> wrote in message
news:OP1x%231DDEHA.2052@TK2MSFTNGP11.phx.gbl...
> Hi,
>
> In a nutshell, I need to know how to test to see if a string value in the
> 'DOMAIN/somevalue' format is either a NT user's login or a NT security
> group.
>
> How do I do this in C#?
>
> Thanks in advace,
>
> James
>
>
- Next message: Joe Kaplan \(MVP - ADSI\): "Re: How to use SecurityAction.RequestMinimum for UnmanagedCode"
- Previous message: Joe Kaplan \(MVP - ADSI\): "Re: Impersonate User"
- In reply to: Williams, James: "I need to know how to test to see if a string value in the 'DOMAIN/somevalue' format is either a NT user's login or a NT security group"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|