Get SID from Username
Question:
I am new to WinBatch so bear with me a bit. I have a script to that lists the usernames on the local machine
for the operator to select from. What I need to have happen is for that username to then map back to an
SID so I can work with it further. I was trying to get wntUserGetDat to send me the data, but so far no luck.
Answer:
To capture clients SID :
currentSID = wntAcctInfo( wntUserInfo(3), wntGetUser(""), 1)
Article ID: W16517
File Created: 2005:02:18:12:21:14
Last Updated: 2005:02:18:12:21:14