Summary
Command line tool to output current user's DN as well as other userid formats.
Warranty
See warranty.
PlatForms
Current Version
Version 1.0.0 - October 08, 2002
Modification(s) from previous version
Security Requirements
There are no local security requirements for running username. Information returned from Active Directory will be dependent on the security configured for the directory. With most directory configurations a normal user can usually return the data properly.
Language
C++. Compiled with Borland Builder 6.0
Source Code Availability
None
Story
I kept seeing questions in the newsgroups on how to get the DN of the current user, usually for scripts, etc. So I whipped up a quick tool to get the user's DN or get the userid in different formats. See switch explanations below to see the formats available. By default it will output the sam name format as that is always available, however a simple switch will allow you to specify the tool to output the user's DN.
Download
You do not have to supply the email address. I would like you to fill that in though so that I have an idea on how popular a tool really is. If I see 1000 downloads with 900 different email addresses I know it is more widespread than one that has 1000 downloads and 200 different email addresses because the same person needed to keep downloading it for some reason.
Version History
As seen in
Usage
Download and type UserName /?