[UWP]如何检查当前用户是否是特定组的成员? [英] [UWP] How to check if the current user is a member of a particular group?

查看:65
本文介绍了[UWP]如何检查当前用户是否是特定组的成员?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

   有没有办法检查启动应用程序的当前用户是否是特定组的成员,例如Administrators组或Power Users组是否包含任何其他组?一个例子就是很好。

   Is there a way to check if the current user who started the application is a member of a particular group, Administrators group for example or Power Users group any other group? An example would be nice.

谢谢

Alex

推荐答案

在https://docs.microsoft.com/en-us/windows/uwp/security/

well there's nothing like it under https://docs.microsoft.com/en-us/windows/uwp/security/

下,没有类似的内容什么是会员信息?一个uwp应用程序将在沙盒中运行。 

what is the membership information for? a uwp app would be running in a sandbox. 


这篇关于[UWP]如何检查当前用户是否是特定组的成员?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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