Windows Active Directory - need IDs

XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).

Moderator: General Moderators

Post Reply
Ree
Forum Regular
Posts: 592
Joined: Fri Jun 10, 2005 1:43 am
Location: LT

Windows Active Directory - need IDs

Post by Ree »

What is the ID attribute name I should use to reference users in Active Directory (I would prefer alphanumeric attribute)?

For example, you click http://www.example.com/show-user.php?user=12345 and the script would contact the directory server and display the info of the user with ID 12345.

I have found attribute named 'userPrincipalName' of a format similar to email (user@whatever.domain), but I'm not sure if it's what I need.
Post Reply