I just go through you issue. I believe that you table ( users ) does not have any Constraints - PK ( Primary Key ) and IDENTITYCOL ( Auto increment ) options. So that it's not return any IDENTITYCOL & GENERATEDKEY keys in your result structure. Here,
<cfquery name="InsertData1" datasource="testmssql" result="test" >
INSERT INTO loginDetails VALUES( 'xxx','yyy')
</cfquery>
I've insert the two column data and my table loginDetails have PK & Identitycol options. So while dump result it's should return the structure with key & values for CACHED,EXECUTIONTIME,GENERATEDKEY,IDENTITYCOL,RECORDCOUNT and SQL Like below image.

<cfquery name="InsertData1" datasource="testmssql" result="test" >
INSERT INTO test2 VALUES( 'xxx','yyy')
</cfquery>
Here my table test2 I didn't set the Autoincrements ( Constraints ) options. So it's not return GENERATEDKEY,IDENTITYCOL in result structure. Like my below image.

So I suggest please check you DB side about that table have proper Constraints or not.