C#获取本地组用户的共享文件夹访问权限,无需注销/重启 [英] C# get the shared folder access for local group users without logoff/reboot

查看:329
本文介绍了C#获取本地组用户的共享文件夹访问权限,无需注销/重启的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我创建了一个本地组并获得了共享路径的权限。将新用户添加到本地组时,用户无法访问需要注销/重启的共享路径。如何通过重新启动立即访问。





谢谢!



我尝试了什么:



gpupdate / force也无法立即访问。

Hi,

I have created a local group and given permissions to shared path. when adding new user to local group, the user not able to access the shared path it requires logoff/reboot. how to get immediate access with out reboot.


Thank you!

What I have tried:

gpupdate /force also not working to get access immediately.

推荐答案

你不能。通过创建一个新组并向其添加用户,您将改变一个访问令牌,该令牌只会刷新以在注销后重新获取新信息。
You can't. By creating a new group and adding a user to it, you're altering an access token, which will only refresh to pickup the new information after they logoff and back on again.


这篇关于C#获取本地组用户的共享文件夹访问权限,无需注销/重启的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆