Can you help me? How to get workgroup name on the Windows2000/NT by VC++ system calls? Due to the security of 2000/NT operating system, the workgroup(not domain) name was saved inside local Sam database, I want to know how to extract the data from the System..

Any help will be great appreciated...