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


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



Relevant Pages

  • Re: GUID LDAP <-> WinNT
    ... > und später auch mit WinNT arbeiten). ... Der WinNT Provider ist eigentlich für NT4 designed, insofern ist klar, ... Wenn Du eine gemischte Umgebung (d.h. NT4 und AD) ... als mit LDAP. ...
    (microsoft.public.de.german.win2000.active_directory)
  • Re: Newbie : How to query a SAM (NT4) profile using System.DirectoryServices
    ... You can only use the WinNT provider if you are talking an NT4 domain. ... use LDAP, you must use Active Directory or another LDAP database. ... Joe K. ...
    (microsoft.public.dotnet.security)
  • Re: ldap with nt4
    ... > ldap how can i use ldap with nt4??? ... You can't use LDAP in a NT4 domain, but you can use the WinNT ... On Error GoTo 0 ... -- torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway Administration scripting examples and an ONLINE version of the 1328 page Scripting Guide: ...
    (microsoft.public.windows.server.scripting)
  • Re: How to Authenticate against the Windows NT Domain via Ruby
    ... NT4 domain days, there was no LDAP part of it at all. ... I am able to do this at the work-place using ruby net/ldap library. ... LDAP bind succeeds, one is authenticated user... ...
    (comp.lang.ruby)
  • Re: How to use GetObject in CShaprt
    ... cases where you need WinNT as protocol provider. ... > I am running windows 2003 domain. ... >> You seem to running an NT4 domain, but I told you, most of the samples ...
    (microsoft.public.dotnet.languages.csharp)

Quantcast