现想实现如下功能;
建立一个用户userA,建好后,他的默认是users组中的成员,如何用c#编程的方式实现将administrators组添加到用户userA的权限表中去,并也能在以后移除administrators组的权限?
如果将这种功能放大到域控制器上,也就是说要添加domain administrators组,又如何实现呢?请帮忙解答一下吧。谢谢了。一下还有一些没有解贴的链接,大家可以去那接分,hoho。
http://community.csdn.net/Expert/topic/4318/4318150.xml?temp=.3325617
http://community.csdn.net/Expert/topic/4287/4287115.xml?temp=.4012873
http://community.csdn.net/Expert/topic/4286/4286353.xml?temp=.904339
http://community.csdn.net/Expert/topic/4297/4297539.xml?temp=.262005
http://community.csdn.net/Expert/topic/4311/4311222.xml?temp=.2811701
http://community.csdn.net/Expert/topic/4281/4281971.xml?temp=.5187189顺便问一下,如何查找老贴,就是哪些有年头的帖子。
建立一个用户userA,建好后,他的默认是users组中的成员,如何用c#编程的方式实现将administrators组添加到用户userA的权限表中去,并也能在以后移除administrators组的权限?
如果将这种功能放大到域控制器上,也就是说要添加domain administrators组,又如何实现呢?请帮忙解答一下吧。谢谢了。一下还有一些没有解贴的链接,大家可以去那接分,hoho。
http://community.csdn.net/Expert/topic/4318/4318150.xml?temp=.3325617
http://community.csdn.net/Expert/topic/4287/4287115.xml?temp=.4012873
http://community.csdn.net/Expert/topic/4286/4286353.xml?temp=.904339
http://community.csdn.net/Expert/topic/4297/4297539.xml?temp=.262005
http://community.csdn.net/Expert/topic/4311/4311222.xml?temp=.2811701
http://community.csdn.net/Expert/topic/4281/4281971.xml?temp=.5187189顺便问一下,如何查找老贴,就是哪些有年头的帖子。
可以用CMD下操作,C#调用
能具体说明一下怎么操作吗,不懂呀一定的使用后台代码实现描述的功能,前台只是一个简单选项,如:类似“是否将该用户提升为管理员”这样的一个选项框。