How to read out a Windows user SID and replace it in USERINFO table
This is needed if you are unable to log into the Axapta Client due to the following error message: "You are not a recognized user of Microsoft Dynamics AX"
Use the following Script to find the Windows user SID you want to change:
strComputer = "." Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2") Set objAccount = objWMIService.Get _ ("Win32_UserAccount.Name='kenmyer',Domain='fabrikam'") Wscript.Echo objAccount.SID
Now replace the SID using Microsoft SQL Server Mangement Studio, in the USERINFO table. Log in with the new user.