Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_cdo thread: Re: Finding a Unique ID for a User in Active Directory


Message #1 by "Luis Pinho" <lpinho@c...> on Mon, 17 Jun 2002 19:34:18
There's a unique identifier for users it's sAMAccountName (username) or 
it's distinguishedName (a kind of path in the Active Directory Tree)

Pinho


> Hi Folks,
> 
> I'm working with ADSI in Active Directory - or trying ;o)
> 
> Doesn't there exist a UID for each user? If so, how do I get hold of it?
> 
> I've tryed object.GUID, but the only returns the GUID of the Directory 
and 
> not the object it self.
> 
> What I need is a unique ID for each user, that I can save in a DB, and 
> later find the user's details based on this UID.
> 
> Can anyone give me some advise?
> 
> Thanks in advance.
> Johan Riis Johansen
> DENMARK

  Return to Index