View Single Post
Old 13th March 2008, 14:42   #5
Senior Member
Join Date: Apr 2006
Posts: 289
Send a message via ICQ to CancerFace
I found in another thread about a system call to LookupAccountSid which would also return the domain name, but I need the current user SID to do that and I don't know how to get it either.
LookupAccountName accepts a username and returns its SID and (optionally) the domain name

Have a look at the Network management functions, maybe you can find something better though ...
CancerFace is offline   Reply With Quote