sam ghost Posted October 2, 2005 Posted October 2, 2005 (edited) hi, can i get the windows xp user-id of the current logged on user? like this: HKEY_USERS\S-1-5-21-1229272821-573735546-725345543-1007 thank you for helping me. so long sam ps: sorry for my bad english ... Edited October 2, 2005 by sam ghost
drak Posted October 3, 2005 Posted October 3, 2005 if you read the help file you will find @Username, you don't need to read the registry, plz do abit more reading in the Help file, AutoIt forum ppl are very helpful as long as you do your homework first
LxP Posted October 3, 2005 Posted October 3, 2005 Welcome to the forums Sam! If you want the ID as found in the registry (e.g. S-1-5-21-1606980848-682003330-1177238915-1003) then you could try writing some temporary value to HKEY_CURRENT_USER, and then search for that value in the HKEY_USERS tree. You can use the RegWrite(), RegEnumKey() and RegRead() functions for this. Just out of curiosity, why are you requesting this data? I have never found any use for it.
sam ghost Posted October 4, 2005 Author Posted October 4, 2005 hi, thank you for the answers. i found another program that solves my problem. thx sam
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now