I see SidtoName to convert SIDS to a valid user name but I need to convert a username to a SID. I saw the @sid variable but this would not work in my case because I don't want the sid of the current logged in user but rather the sid of a user account that is read from a text file. Searched the forum and was not able to find anything. Does anyone know of such a script or utility or a way to do this in kix.

Thanks,