I'm going to get Windows login details by using Ruby on rails. I searched many links but didn't find any solutions.
For reference, I'm sharing some links to which I referred.
How to get username in Windows domain from service using Ruby?
Ruby: Get currently logged in user on windows
When I tried it I'm getting the server-side username instead of the client-side username and userid.
Is there any gem available to get Windows Client-side data?
Please help me.