--查看用户 xp_cmdshell 'query user' --注销用户 xp_cmdshell 'logoff id' 转载于:https://www.cnblogs.com/cwfsoft/archive/2011/01/23/1942466.html