How to get the Windows SID number using Caché Command?
Hi All, Can any one please tell how to get the Windows SID number using Caché Command.
Discussion (1)0
Comments
```SET Command="wmic useraccount get name,sid" SET $ZT = "CommandErr" OPEN Command:"QR" FOR { USE command READ Text USE $P SET Array($I(Array))=Text } CommandErr ; SET $ZT="" SET ZE=$ZE USE $P CLOSE command IF $P(ZE,">")'="