I have got some doubts
I have a win2k machine with domain logon
When i run GetUserName API containing exe at command prompt i am
getting the username in a format in which i have logged on to the
system.
I have a exe which creates a process with the specified user (Using
LogonUser and CreateProcessAsUser) and when i run GetUserName API
throught that process i am getting the username in the format in which
it was created originally.
Is there any way by which i can get it in the format in which we have
given instead of created format?
Joe Kaplan - 14 Feb 2008 18:27 GMT
TranslateName API?
Joe K.

Signature
Joe Kaplan-MS MVP Directory Services Programming
Co-author of "The .NET Developer's Guide to Directory Services Programming"
http://www.directoryprogramming.net
--
>I have got some doubts
> I have a win2k machine with domain logon
[quoted text clipped - 9 lines]
> Is there any way by which i can get it in the format in which we have
> given instead of created format?