http://www.cppblog.com/free2000fly/archive/2008/07/30/57491.html AllocateAndInitializeSid 和createwellknownsid有的功能差不多。