It would be very handy, but difficult to get it if it isn't part of the token that comes down when the user logs on.

If it is localized to AD, then LDAP query is the way to go.

However, an integral TranslateName Fuction would work well.

code:
 
$ldap = TranslateName(1, @domain, 3, @ldomain+'\'+@userid, 1)
$UserProperties = GetObject("LDAP://"+$LDAP[0])
$FirstName = $userProperties.FirstName
$LastName = $userProperties.LastName
$Description = $userProperties.Description

With additional fields being available here:
http://www.kixtart.org/board/ultimatebb.php?ubb=get_topic;f=1;t=006213#000017

[ 29. July 2003, 14:39: Message edited by: Radimus ]
_________________________
How to ask questions the smart way <-----------> Before you ask