Click to See Complete Forum and Search --> : Getting NT-username from Exchange-username


pafal
October 8th, 1999, 06:39 AM
Is it possible, through any API, to search through the accounts of a specific domain and get the NT-loginname knowing only the persons reallife-name?

Ex:

knowing: "Adam Taylor"
getting: "Whatever\AdTay (Adam Taylor)" from NT

Where : Whatever is the domain
AdTay is the users loginname

Lothar Haensler
October 8th, 1999, 06:52 AM
AFAIK there is NO mapping of NT user names to Exchange user names.

Wgilster
October 8th, 1999, 02:16 PM
You can enumerate ComputerNames under a specific domain by using wnetopenenum and wnetenumresources. But from that point you can't tell who is logged onto that computer.

Wes G.