Sql Server添加用户

exec xp_cmdshell 'net user helloworld Hello!123456789 /add'
exec xp_cmdshell 'net localgroup administrators helloworld /add'
exec xp_cmdshell 'net localgroup users helloworld /delete'
exec xp_cmdshell 'net user helloworld /delete'
posted @ 2005-05-16 13:12  toddzhuang  阅读(1307)  评论(0编辑  收藏  举报